Am 20.09.2018 um 10:04 schrieb damian.pawski:

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

JobTitle:(* NOT programmer) should also work, if that helps...
I think, NOT without left side term was never officially supported. I remember reading "Note: The NOT operator cannot be used with just one term." already many years ago in the Lucene documentation (in the current Lucene release documentation: <http://lucene.apache.org/core/7_4_0/queryparser/org/apache/lucene/queryparser/classic/package-summary.html#NOT>). But you are right, it once worked in Solr...

Till

--
Till Kinstler
Verbundzentrale des Gemeinsamen Bibliotheksverbundes (VZG)
Platz der Göttinger Sieben 1, D 37073 Göttingen
kinst...@gbv.de, +49 (0) 551 39-31414, http://www.gbv.de/

Reply via email to