lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Wettin <>
Subject Re: Exact match query on a field in index which has been indexed using StandardAnalyzer
Date Thu, 15 May 2008 17:52:13 GMT

14 maj 2008 kl. 17.30 skrev Erick Erickson:
> Another
> possibility would be to introduce marker tokens in your field, index
> something like "$ member of technical staff $" and then, when
> querying for exact matches, *add* the $ tokens to the beginning
> and end of the query.

Just a note, I've hit problems with idf/tf when prefixing and  
suffixing field boundaries in a single field like this. You will  
probably have to override Similarity to ignore the prefix and suffix  
tokens to avoid bad scores.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message