Hi folks,
is it possible to use the raw query parser with a disjunctive filter
query? Say, I have a field 'foo' and two values 'v1' and 'v2' (the field
values are free text and can contain any character). What I want is to
retrieve all documents satisying fq=foo:(v1 OR v2). In case only one
field (v1) is given, the query fq={!raw f=foo}v1 works as expected. But
how can I formulate the filter query (with the raw query parser) in case
two values are provided.
The same question was posted on Stackoverflow
(http://stackoverflow.com/questions/5637675/solr-query-with-raw-data-and-union-multiple-facet-values)
two years ago. But there was only the advice to give up using the raw
query parser which is not what I want to do.
Thanks in advance,
Sascha