Pure negatives in lucene syntax don't match anything (solr currently
only fixes this for you if it's a pure negative at the top-level, not
embeded).
Try changing
(NOT periodicite:"annuel")
to
(*:* NOT periodicite:"annuel")
But the second version below where you just removed the parens will be
mor
Hi everybody,
We got a problem with parenthesis in a lucene/solr request (Solr 1.4) :
- {!lucene q.op=AND}( ville:"Moscou" -periodicite:"annuel") give
254documents
with parsedquery>+ville:Moscou -periodicite:annuel< in debug mode.
Thas'ts correct.
- {!lucene q.op=AND} (ville:"Moscou" AND NOT