PHP 7.4.0RC2 Released!

SolrDisMaxQuery::useEDisMaxQueryParser

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

SolrDisMaxQuery::useEDisMaxQueryParserSwitch QueryParser to be EDisMax

説明

public SolrDisMaxQuery::useEDisMaxQueryParser ( void ) : 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.

パラメータ

この関数にはパラメータはありません。

返り値

SolrDisMaxQuery

例1 SolrDisMaxQuery::useEDisMaxQueryParser() example

<?php

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

?>

上の例の出力は、 たとえば以下のようになります。

defType=edismax

参考

add a note add a note

User Contributed Notes

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