Re: [greenstone-devel] Phrase searching in combined field

From Katherine Don
DateMon, 18 Aug 2003 11:16:37 +1200
Subject Re: [greenstone-devel] Phrase searching in combined field
In-Reply-To (da6c0489-b403f405-8166a00-express-cites-uiuc-edu)
hi Xiao

You are right, phrase searching didn't work on multi metadata indexes. There was a bug in the phrase searching stuff, which I have fixed - this will be available in the next release.
I will send you the fixed file in a separate email.

Note that if you have 'text' as part of the index, eg text,Title,Subject, when the post processing for phrases is done, it will only look in the text, not the metadata. But if the index is only metadata, eg Title,Subject, it will look at the metadata values to find the phrase. I may get around to fixing this one day.

regards,
katherine

xiaohu@uiuc.edu wrote:

Hi,

I am building a collection with 5 searching fields: Date, Topic, People...., and another searching field combining all above fields. It is named "All Key Words". I did that by adding a line in the collect.cfg file:

collectionmeta .document:Title,Subject,Building,People,Organization "All key words"

However, this combined field doesn't support phrase searching. For the same phrase "McCoy, Robb", searching the "People" field can get correct result; but nothing will be searched out if using the "All Key Words" field. Please try
http://europa.iwu.edu/gsdl/cgi-bin/library?site=localhost&a=p&p=about&c=argus8&ct=0&l=en&w=iso-8859-1

The "All Key Words" field works for everything except for phrase searching. When I got rid of the quotation marks of the above query, it works correctly.

I think all the fields use the same mechanics (post-retrieval scan) for phrase searching, but why every single field can work but the combined one can't? Is there any method to fix it?

Thank you very much!

Have a nice weekend!

Xiao

_______________________________________________
greenstone-devel mailing list
greenstone-devel@list.scms.waikato.ac.nz
https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-devel