php[world] 2019 — 25 years of PHP

SolrDisMaxQuery::setTieBreaker

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

SolrDisMaxQuery::setTieBreakerSets Tie Breaker parameter (tie parameter)

Açıklama

public SolrDisMaxQuery::setTieBreaker ( string $tieBreaker ) : SolrDisMaxQuery

Sets Tie Breaker parameter (tie parameter)

Değiştirgeler

tieBreaker

The tie parameter specifies a float value (which should be something much less than 1) to use as tiebreaker in DisMax queries.

Dönen Değerler

SolrDisMaxQuery

Örnekler

Örnek 1 SolrDisMaxQuery::setTieBreaker() example

<?php

$dismaxQuery 
= new SolrDisMaxQuery();
$dismaxQuery->setTieBreaker(0.1);

echo 
$dismaxQuery;

?>

Yukarıdaki örneğin çıktısı:

defType=edismax&tie=0.1
add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top