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。
时间: 2024-10-06 15:50:43