Re: Query syntax

2025-04-18 Thread Mikhail Khludnev
It's a pure negative query trap of Boolean Retrieval. The worse thing is that it's handled in half of the cases, and goes along in others. On Thu, Apr 17, 2025 at 9:05 PM Farmerie, Henry wrote: > I'm observing the following behavior with Solr 9.7.0: > > Searching for attributes that are empty (h

RE: Query syntax

2025-04-17 Thread Farmerie, Henry
Thanks! That query example below worked for me! -Original Message- From: Jan Høydahl Sent: Thursday, April 17, 2025 3:11 PM To: users@solr.apache.org Subject: Re: Query syntax Hi, You're running into corner cases of Lucene's pure negative query. Google and you'll fin

Re: Query syntax

2025-04-17 Thread Jan Høydahl
Hi, You're running into corner cases of Lucene's pure negative query. Google and you'll find some articles. Try rewriting your query in a more explicit way, e.g. q=(*:* -attributename1:*) OR (*:* -attributename2:*) AND Class:Document Jan > 17. apr. 2025 kl. 20:05 skrev Farmerie, Henry > : >