Domanda

If I have not specified defType in solr query which parser will be used, whether DisMax or EDisMax ?

È stato utile?

Soluzione

Before Solr 1.3, the Standard Request Handler called the standard query parser as the default query parser. In versions since Solr 1.3, the Standard Request Handler calls the DisMax query parser as the default query parser.

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

Altri suggerimenti

The defType parameter selects the query parser that Solr should use to process the main query parameter (q) in the request. For example:defType=dismax

According solr 6.6,If no defType param is specified, then by default, the The Standard Query Parser is used. (eg: defType=lucene)

same question is also asked in what is solr's default query parser

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top