PHP 8.1.0 RC 4 available for testing

SolrDisMaxQuery::useDisMaxQueryParser

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

SolrDisMaxQuery::useDisMaxQueryParserSwitch QueryParser to be DisMax Query Parser

Descrição

public SolrDisMaxQuery::useDisMaxQueryParser(): SolrDisMaxQuery

Switch QueryParser to be DisMax Query Parser

Parâmetros

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

Valor Retornado

SolrDisMaxQuery

Exemplos

Exemplo #1 SolrDisMaxQuery::useDisMaxQueryParser() example

<?php

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

O exemplo acima irá imprimir algo similar à:

defType=dismax

Veja Também

  • SolrDisMaxQuery::useDisMaxQueryParser()
add a note add a note

User Contributed Notes

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