Re: Difference between '-' and 'NOT' in Lucene Query.

2024-05-06 Thread Mikhail Khludnev
Hello. What if you examine parsed query via debugger or just print query.toString() for both and compare? On Mon, May 6, 2024 at 1:42 PM Saha, Rajib wrote: > Hi Experts, > > > > As per the definition in > https://lucene.apache.org/core/2_9_4/queryparsersyntax.html > > > > '-' and 'NOT' in query

Re: Difference between '-' and 'NOT' in Lucene Query.

2024-05-06 Thread Paul Libbrecht
A weighted OR, of course. On 6 May 2024, at 12:43, Paul Libbrecht wrote: Do I mistake or “ “ makes an OR if there’s no other? On 6 May 2024, at 12:41, Saha, Rajib wrote: Hi Experts, As per the definition in https://lucene.apache.org/core/2_9_4/queryparsersyntax.html '-' and 'NOT' in quer

Re: Difference between '-' and 'NOT' in Lucene Query.

2024-05-06 Thread Paul Libbrecht
Do I mistake or “ “ makes an OR if there’s no other? On 6 May 2024, at 12:41, Saha, Rajib wrote: Hi Experts, As per the definition in https://lucene.apache.org/core/2_9_4/queryparsersyntax.html '-' and 'NOT' in query string stands for same reason theoretically. [cid:image001.png@01DA9FCF.

Difference between '-' and 'NOT' in Lucene Query.

2024-05-06 Thread Saha, Rajib
Hi Experts, As per the definition in https://lucene.apache.org/core/2_9_4/queryparsersyntax.html '-' and 'NOT' in query string stands for same reason theoretically. [cid:image001.png@01DA9FCF.A22DAD00] [cid:image002.png@01DA9FD0.1DB4C0D0] But, in practical, is there any difference? Why I am a