Hi
On the Solr 5.4.x below query works fine:
   * 
      ....
      "q": "*:*",
      "_": "1537429094299",
      "wt": "json",
      "fq": "JobTitle:(NOT programmer)"
      ...
    *

, however the same query returns 0 results (I have checked and index
contains correct data) in the Solr 7.4.1.

I couldn't find anything about this issue in the Solr upgrade pages.

I have tried below query on Solr 7.4.1
     * 
       ...
       "q":"*:*",
       "fq":"-JobTitle:programmer"
       ...*
and I am getting correct results.

The problematic search  "JobTitle:(NOT programmer)" is constructed via C#
code, so I can ont easily update to "-JobTitle".


Why the *NOT* query stopped working in the Solr 7.4.1, is there any setting
that I can switch on to make it work?


Thank you
Damian






--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Reply via email to