Hi all!

I have a question regarding boolean queries. What I want to reach:

Return all documents where string-field „access" has value ‚allow*‘ or is not 
set.

My query:
fq = (access:Allow*) OR (-access:*)

But I got only the results where the field has value ‚allow*‘.

I am using solr 4.3.1 with the edismax query parser.

I am looking forward to get some hints, why the query might be failing.

Best regards and many thanks!
Thomas


--
Thomas Kurz
Forschung & Entwicklung / KMT

Salzburg Research Forschungsgesellschaft mbH 
Jakob-Haringer-Straße 5/3 | 5020 Salzburg, Austria 
T: +43.662.2288-253 | F: -222
thomas.k...@salzburgresearch.at 
http://www.salzburgresearch.at




Reply via email to