SolrDisMaxQuery::useEDisMaxQueryParser

(No version information available, might only be in Git)

SolrDisMaxQuery::useEDisMaxQueryParserSwitch QueryParser to be EDisMax

Descrição

public SolrDisMaxQuery::useEDisMaxQueryParser(): SolrDisMaxQuery

Switch QueryParser to be EDisMax. By default the query builder uses edismax, if it was switched using SolrDisMaxQuery::useDisMaxQueryParser(), it can be switched back using this method.

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

SolrDisMaxQuery

Exemplos

Exemplo #1 SolrDisMaxQuery::useEDisMaxQueryParser() example

<?php

$dismaxQuery
= new SolrDisMaxQuery();
$dismaxQuery->useEDisMaxQueryParser();
echo
$dismaxQuery;

?>

O exemplo acima produzirá algo semelhante a:

defType=edismax
add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top