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 periodicite:"annuel") same
results.
- {!lucene q.op=AND} (ville:"Moscou" AND (NOT periodicite:"annuel"))
give 0 documents
with parsedquery>+ville:Moscou +(-periodicite:annuel)<
The 2 fields are standards string fields in the solr shema.
Is it a issue or standard way of the Solr Query Parser ?
Best regards.
Gilbert Boyreau