You can configure that in the "schema.xml" file:

<!-- SolrQueryParser configuration: defaultOperator="AND|OR" -->
<solrQueryParser defaultOperator="AND"/>


Thierry Collogne wrote:
Hello,

I have a small question.When I do a search and enter 2 words, seperated with
a space (for example small business), the query is done like small OR
business.

So I get results containing small, business or small and business. In our
case I would like only the results that contain small AND business

Can I configure this somewhere, or do I need to parse the searchquery and
add the AND keyword myself?

Thank you.


Reply via email to