PHP Conference Nagoya 2025

SolrDisMaxQuery::useEDisMaxQueryParser

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

SolrDisMaxQuery::useEDisMaxQueryParserSwitch QueryParser to be EDisMax

説明

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.

パラメータ

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

戻り値

SolrDisMaxQuery

例1 SolrDisMaxQuery::useEDisMaxQueryParser() example

<?php

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

?>

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

defType=edismax
add a note

User Contributed Notes

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