solr中使用了什么类型的解析器

问题描述 投票:1回答:2

如果我没有在solr查询中指定defType将使用哪个解析器,无论是DisMax还是EDisMax?

solr edismax dismax
2个回答
1
投票

在Solr 1.3之前,标准请求处理程序将标准查询解析器称为默认查询解析器。在Solr 1.3之后的版本中,标准请求处理程序将DisMax查询解析器称为默认查询解析器。

http://lucidworks.lucidimagination.com/display/solr/The+Standard+Query+Parser


0
投票

defType参数选择Solr用于处理请求中的主查询参数(q)的查询解析器。例如:defType = dismax

根据solr 6.6,如果未指定defType参数,则默认使用标准查询解析器。 (例如:defType = lucene)

what is solr's default query parser也提出同样的问题

参考:https://lucene.apache.org/solr/guide/6_6/common-query-parameters.html

© www.soinside.com 2019 - 2024. All rights reserved.