SolrDisMaxQuery::useEDisMaxQueryParser

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

SolrDisMaxQuery::useEDisMaxQueryParserSwitch QueryParser to be EDisMax

Descrierea

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.

Parametri

Această funcție nu are parametri.

Valorile întoarse

SolrDisMaxQuery

Exemple

Example #1 SolrDisMaxQuery::useEDisMaxQueryParser() example

<?php

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

?>

Exemplul de mai sus va afișa ceva similar cu:

defType=edismax

A se vedea și

add a note add a note

User Contributed Notes

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