Hi there, I'm trying to understand how the query syntax specified on the Solr Wiki ( http://wiki.apache.org/solr/SolrQuerySyntax ) fits in with the usage of the SolJ class SolrQuery. There are not too many examples of usage to be found.
For example. Say I wanted to replicate the following query using SolrQuery. q={!lucene q.op=AND df=text}myfield:foo +bar -baz How would I do it so that q.op was set to "OR" instead of "AND"? There is no method I can see on SolrQuery to set q.op, only a "query string", which is presumably in this case is the text "+bar -baz", as the rest can be specified by calling set methods on SolrQuery. Thanks in advance for any help. Jon