update : 2015.11.03
php.shukuma.com

검색:
 
 
Switch QueryParser to be DisMax Query Parser

SolrDisMaxQuery::useDisMaxQueryParser

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

SolrDisMaxQuery::useDisMaxQueryParserSwitch QueryParser to be DisMax Query Parser

설명

public SolrDisMaxQuery SolrDisMaxQuery::useDisMaxQueryParser ( void )

Switch QueryParser to be DisMax Query Parser

인수

이 함수는 인수가 없습니다.

반환값

SolrDisMaxQuery

예제

Example #1 SolrDisMaxQuery::useDisMaxQueryParser() example

<?php

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

위 예제의 출력 예시:

defType=dismax

참고

  • SolrDisMaxQuery::useDisMaxQueryParser()