首页 > 其他 > 详细

【Solr基础教程之X】配置文件:Solr.xml SolrConfig.xml Schema.xml

时间:2014-07-23 22:38:28      阅读:304      评论:0      收藏:0      [点我收藏+]


1、关于默认搜索域

If you are using the Lucene query parser, queries that don‘t specify a field name will use the defaultSearchField. The DisMax and Extended DisMax query parsers do not use this value. 

Use of the defaultSearchField element is deprecated in Solr versions 3.6 and higher. Instead, you should use the df request parameter. At some point, the defaultSearchField element may be removed。
即使用solrConfig中的df属性代替schema中的defaultSearchField。


【Solr基础教程之X】配置文件:Solr.xml SolrConfig.xml Schema.xml

原文:http://blog.csdn.net/jediael_lu/article/details/38070955

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!