What is the default query in solr
What is the default query type in solr. for example if i search for white diamond then it returns the docs containing white or diamond or both. it means it is by default OR, now if i wanted to 开发者_开发知识库change it AND then where i have to change in the configuration
in the schema.xml, look for
<solrQueryParser defaultOperator="OR"/>
精彩评论