Sets Tie Breaker parameter (tie parameter)
$tieBreaker
tieBreaker
The tie parameter specifies a float value (which should be something much less than 1) to use as tiebreaker in DisMax queries.
SolrDisMaxQuery
Example #1 SolrDisMaxQuery::setTieBreaker example
<?php$dismaxQuery = new SolrDisMaxQuery();$dismaxQuery->setTieBreaker(0.1);echo $dismaxQuery;?>
The above example will output:
defType=edismax&tie=0.1