开发者

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"/>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜