>[mailto:firstname.lastname@example.org] On Behalf Of Peter Karman
>Sent: Wednesday, October 24, 2007 4:02 PM
>To: Swish-e Users Discussion List
>Subject: Re: [swish-e] Change the indexed 'title'
>On 10/24/2007 02:46 PM, email@example.com wrote:
>> I see what you are saying; not sure what I am doing wrong though. I tried
>> simulated exactly what you had there and do not return the results as you
>> are saying I should.. the only 'result' i am returning is the
>> Do i have to index it in a special way for it to populate the 'strong'
>> PropertyName? I don't understand how it should correspond that property
>> to the html tag...
>show your work. your config file, your indexing output. reduce your test
>to the smallest possible reproducable example.
>PropertyNames are a way of telling the indexer "if you find a tagset called
>'foo', save all the text inside the tagset under an index field called
>MetaNames are a way of telling the indexer "if you find a tagset called
>mark all the words inside that tagset as appearing in the 'foo' context."
>Peter Karman . peter(at)not-real.peknet.com . http://peknet.com/
I literally duplicated what you wrote; to test and play around with (as you said, with a small sample set). I have 3 directories (docsthatarenormal, docswith-ahref, docswith-strong); in each is one file - which are identical to what you used in your example.
I created a conf file that has the following lines:
ExtractPath flavor regex !^([^/]+)/.*$!$1!
PropertyNames strong a flavor
I ran a standard index (swish-e -c index.cfg)
then I ran your commandline search string, as you typed it, I get an 'err: no results'. If I remove the 'AND flavor=strong' search string it does return some results listed below:
# SWISH format: 2.4.5
# Search words: title
# Removed stopwords:
# Number of hits: 5
# Search time: 0.000 seconds
# Run time: 0.009 seconds
"" "read title - this is the title i want" "."
"" "read title" "."
"" "read title" "."
"" "index.swish-e.prop" "."
"" "index.swish-e" "."
Users mailing list
Received on Thu Oct 25 07:32:07 2007