(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
1 2 3 4 5 6 | <?php $dismaxQuery = new SolrDisMaxQuery(); $dismaxQuery ->useDisMaxQueryParser(); echo $dismaxQuery ; ?> |
The above example will output something similar to:
defType=dismax
Please login to continue.