On Apr 4, 2005, at 4:34 PM, Yura Smolsky wrote:

Hello, java-user.

I have documents with tokenized, indexes and stored field. This field
contain one-two words usually. I need to be able to search exact
matches for two words.
For example search "John" should return documents with field
containing "John" only, not "John Doe" or "John Foo".

Any ideas?

Use an untokenized field to search on in the case of finding an exact match.


        Erik


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to