lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Naber <>
Subject Re: Exact match search
Date Mon, 12 Jul 2004 19:39:09 GMT
On Monday 12 July 2004 21:17, wrote:

> I want to match documents that exactly equal a certain value, not just
> contain it.

Just don't tokenize your Fields, and make sure that the query also doesn't 
get tokenized (the easiest way to ensure that is probably to not use 
QueryParser but just build a TermQuery directly from the user's input).



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

View raw message