Sets Tie Breaker parameter (tie parameter)

# SolrDisMaxQuery::setTieBreaker

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

SolrDisMaxQuery::setTieBreaker — Sets Tie Breaker parameter (tie parameter)

### Beschreibung

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

Sets Tie Breaker parameter (tie parameter)

### Parameter-Liste

`tieBreaker`

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

### Rückgabewerte

SolrDisMaxQuery

### Beispiele

Beispiel #1 SolrDisMaxQuery::setTieBreaker() example

    <?php

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

    echo $dismaxQuery;

    ?>

Das oben gezeigte Beispiel erzeugt folgende Ausgabe:

    defType=edismax&tie=0.1

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open