> I have a (multi-valued) field topic in my index which does
> not need to exist in every document. Now, I'm struggling
> with formulating a query that returns all documents that
> either have no topic field at all *or* whose topic field
> value is R.

Does this work?
&defType=lucene&q.op=OR&q=topic:R (+*:* -topic:[* TO *])


      

Reply via email to