lucene - SOLR NOT doesn't work inside parentheses -


i have simple query:

type:abc* , -foo:"" 

that works, if put parentheses around foo won't work:

type:abc* , (-foo:"") 

i want to:

type:abc* , (-foo:"" or -bar:"" or -foobar:"") 

i want find records type starts abc , of foo, bar, or foobar have non empty value. fields exist records, want find @ least 1 of them not empty.

any great.

here how can write/build query

/select?q=type:abc*&fq=-foo:("")    /select?q=type:abc*&fq=-foo:("") or -bar:("") or -foobar:("") 

Comments