Hi everyone,

I'm trying to understand how to use the Lucene query language.


1.       Does Lucene support negative phrase queries like -"hello dolly" ? Or 
do I need to subtract from some other term like: joy -"hello dolly" ? My 
intention is to find all documents that do not have the words "hello" and 
"dolly" adjacent to each other.

2.       And also, does "hello dolly" mean the same thing as the proximity 
query "hello dolly"~1 ?

Thanks!
Prad

Reply via email to