SolrDisMaxQuery::useDisMaxQueryParser

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

SolrDisMaxQuery::useDisMaxQueryParserSwitch QueryParser to be DisMax Query Parser

˵��

public SolrDisMaxQuery::useDisMaxQueryParser ( void ) : SolrDisMaxQuery

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()