How do I specify boolean operators on a given field to search with
the 'q' parameter.

For a given index - I have a different documents , document 1 with a
field course:"Applied Statistics"
 document 2 with a field course: "Applied Probability"
document 3 with a field course:"Discrete math"

I need to search for those documents with field course containing
statistics or probability

When I submit q=course:"statistics or probability"  , it searches for
those documents with the exact match of the string (with
debugQuery=true , option ) .  How do pass in a single string that is
directly taken by the query parser without breaking it myself ( I can
achieve the above by q=course:statistics or q=course:probability - but
that would I do the parsing myself but would like to delegate the
parsing to Lucene though).

Thanks.

Reply via email to