SolrDisMaxQuery::useEDisMaxQueryParser

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

SolrDisMaxQuery::useEDisMaxQueryParserSwitch QueryParser to be EDisMax

Descrizione

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.

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

SolrDisMaxQuery

Esempi

Example #1 SolrDisMaxQuery::useEDisMaxQueryParser() example

<?php

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

?>

Il precedente esempio visualizzerĂ  qualcosa simile a:

defType=edismax
add a note add a note

User Contributed Notes

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