(No version information available, might only be in Git)
Switch QueryParser to be DisMax Query Parser
public SolrDisMaxQuery SolrDisMaxQuery::useDisMaxQueryParser ( void )
Switch QueryParser to be DisMax Query Parser
Returns:
Examples:
SolrDisMaxQuery::useDisMaxQueryParser() example
<?php $dismaxQuery = new SolrDisMaxQuery(); $dismaxQuery->useDisMaxQueryParser(); echo $dismaxQuery; ?>
The above example will output something similar to:
defType=dismax
Please login to continue.