SolrDisMaxQuery::useEDisMaxQueryParser
(No version information available, might only be in Git)
SolrDisMaxQuery::useEDisMaxQueryParser — Switch QueryParser to be EDisMax
説明
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.
パラメータ
この関数にはパラメータはありません。
戻り値
例
例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.
↑ and ↓ to navigate •
Enter to select •
Esc to close
Press Enter without
selection to search using Google