开发者

How do I enable a "Bicycle AND Boy" search in Solr?

I have solr up and running but I cannot get the results when I search "Bicycle 开发者_Python百科AND Boy", works fine for "Bicycle Boy". What are the steps to enable such searches?


By default the configuration for Solr is set to use OR as the default query operator. Look for this line in the schema.xml file:

<solrQueryParser defaultOperator="OR"/>

You can also reference the Solr Tutorial for more details on querying... http://lucene.apache.org/solr/tutorial.html#Querying+Data


Can you try searching Bicycle AND Boy without quotations?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜