Or in schema.xml you can set the defaultOperator to AND:
<solrQueryParser defaultOperator="AND"/> which applies only to the
Lucene/SolrQueryParser, not dismax.
Erik
On Apr 13, 2009, at 10:49 PM, Ryan McKinley wrote:
what about:
fieldA:value1 AND fieldB:value2
this can also be written as:
+fieldA:value1 +fieldB:value2
On Apr 13, 2009, at 9:53 PM, Johnny X wrote:
I'll start a new thread to make things easier, because I've only
really got
one problem now.
I've configured my Solr to search on all fields, so it will only
search for
a specific query in a specific field (e.g. q=Date:"October") will
only
search the 'Date' field, rather than all the others.
The issue is when you build up multiple fields to search on. Only
one of
those has to match for a result to be returned, rather than all of
them. Is
there a way to change this?
Cheers!
--
View this message in context:
http://www.nabble.com/Search-included-in-*all*-fields-tp23031829p23031829.html
Sent from the Solr - User mailing list archive at Nabble.com.