I have a string field called foobar. I'm constructing a FilterQuery with ORs for some arbitrary values, e.g.: fq=foobar:(a OR b OR c)
Now, this works as long as a,b,c aren't "important" in the query language. Let's say c is *, then I get all the documents in the collection, when what I actually want is documents that have a literal * in the foobar field. Now, from doing some digging I think what I want to use is the raw query parser. I can get this to work for one value, e.g. fq={!raw f=foobar v=*} but my attempts to extend this to multiple OR'ed literal/raw values doesn't seem to work. My attempt, from reading the documentation is: {!raw f=foobar v=*} OR {!raw f=foobar v=a} but this seems to give me the same results as the single-clause query. Anyone know what I'm doing wrong? Thanks, Greg