GoLang SolrDisMaxQuery::useDisMaxQueryParser

request it (334)
GoLang replacement for PHP's SolrDisMaxQuery::useDisMaxQueryParser [edit | history]



Do you know a GoLang replacement for PHP's SolrDisMaxQuery::useDisMaxQueryParser? Write it!

PHP SolrDisMaxQuery::useDisMaxQueryParser

PHP original manual for SolrDisMaxQuery::useDisMaxQueryParser [ show | php.net ]

SolrDisMaxQuery::useDisMaxQueryParser

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

SolrDisMaxQuery::useDisMaxQueryParserSwitch QueryParser to be DisMax Query Parser

Description

public SolrDisMaxQuery SolrDisMaxQuery::useDisMaxQueryParser ( void )

Switch QueryParser to be DisMax Query Parser

Parameters

This function has no parameters.

Return Values

SolrDisMaxQuery

Examples

Example #1 SolrDisMaxQuery::useDisMaxQueryParser() example

<?php

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

The above example will output something similar to:

defType=dismax

See Also

  • SolrDisMaxQuery::useDisMaxQueryParser()