【问题标题】:what type of parser have been used in solrsolr 中使用了什么类型的解析器
【发布时间】:2012-11-28 07:20:13
【问题描述】:

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

【问题讨论】:

    标签: solr edismax dismax


    【解决方案1】:

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

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

    【讨论】:

      【解决方案2】:

      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

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2011-08-13
        • 2023-03-24
        • 2020-03-24
        • 2013-07-18
        • 1970-01-01
        相关资源
        最近更新 更多