SolrDisMaxQuery::useEDisMaxQueryParser

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

SolrDisMaxQuery::useEDisMaxQueryParserSwitch QueryParser to be EDisMax

설명

public SolrDisMaxQuery SolrDisMaxQuery::useEDisMaxQueryParser ( void )

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

예제

Example #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