lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil brunet" <>
Subject Re: Performing exact search with Lucene
Date Fri, 02 Apr 2004 15:45:28 GMT
Thanks for your quick answer. I'm going to try the PhraseQuery as you 

But considering theses three examples :

document 1 =    "this is an example"
document 2 =    "this is an example of document"
document 3 =    "this is an other example"

i guess that a PhraseQuery, based on :

    +"this is an example"

and with setSlop(0) will match document1 AND also document2 ?

Does the PhraseQuery act as the SQL operator  LIKE  "%something_to_search%" 
or like the '=' SQL operator ?

I'm going to investigate.

Thanks again.


MSN Messenger  : dialoguez en son et en images 
avec vos amis

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

View raw message