Re: Using the NOT operator with the AND operator

2025-01-31 Thread Chris Hostetter
: @hoss, did that replace the previous article by Erick? I can't find the old : one anymore. If you mean the article originally titled "Why Not And Or And Not?" ... 1) That's this article 2) I wrote the original, Erick just really liked sharing it :) 3) SEO "Experts" have gradually sucked th

Re: Using the NOT operator with the AND operator

2025-01-31 Thread Gus Heck
@hoss, did that replace the previous article by Erick? I can't find the old one anymore. On Thu, Jan 30, 2025 at 5:48 PM Chris Hostetter wrote: > > Obligatory reading about "boolean" queries in lucene & solr -- still very > relevant ~13 years later... > > https://lucidworks.com/post/solr-boolean

Re: Using the NOT operator with the AND operator

2025-01-30 Thread Chris Hostetter
Obligatory reading about "boolean" queries in lucene & solr -- still very relevant ~13 years later... https://lucidworks.com/post/solr-boolean-operators/ -Hoss http://www.lucidworks.com/

Re: Using the NOT operator with the AND operator

2025-01-23 Thread Mikhail Khludnev
Right. Also it can be expressed with q=+attribute2:Document -attribute1:there On Wed, Jan 22, 2025 at 7:10 PM Rahul Goswami wrote: > This is one of the idiosyncrasies of the NOT boolean operator. I prefer > using the "-" operator for boolean NOT > < > https://solr.apache.org/guide/solr/latest/qu

Re: Using the NOT operator with the AND operator

2025-01-22 Thread Rahul Goswami
This is one of the idiosyncrasies of the NOT boolean operator. I prefer using the "-" operator for boolean NOT . The way to see it is that it behaves like a set operation where you give Solr a r