PHP 8.4.0 RC4 available for testing

SolrDisMaxQuery::useDisMaxQueryParser

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

SolrDisMaxQuery::useDisMaxQueryParserSwitch QueryParser to be DisMax Query Parser

Descrizione

public SolrDisMaxQuery::useDisMaxQueryParser(): SolrDisMaxQuery

Switch QueryParser to be DisMax Query Parser

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

SolrDisMaxQuery

Esempi

Example #1 SolrDisMaxQuery::useDisMaxQueryParser() example

<?php

$dismaxQuery
= new SolrDisMaxQuery();
$dismaxQuery->useDisMaxQueryParser();
echo
$dismaxQuery;
?>

Il precedente esempio visualizzerà qualcosa simile a:

defType=dismax

Vedere anche:

  • SolrDisMaxQuery::useDisMaxQueryParser()
add a note

User Contributed Notes

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