MatchNoneSearchQuery
in package
implements
JsonSerializable, SearchQuery
A FTS query that matches 0 document (usually for debugging purposes).
Interfaces, Classes, Traits and Enums
- JsonSerializable
- SearchQuery
- Common interface for all classes, which could be used as a body of SearchQuery
Table of Contents
- $boost : float|null
- boost() : MatchNoneSearchQuery
- Sets the boost for this query.
- build() : MatchNoneSearchQuery
- Static helper to keep code more readable
Properties
$boost
private
float|null
$boost
= null
Methods
boost()
Sets the boost for this query.
public
boost(float $boost) : MatchNoneSearchQuery
Parameters
- $boost : float
-
the boost value to use.
Tags
Return values
MatchNoneSearchQuery —build()
Static helper to keep code more readable
public
static build() : MatchNoneSearchQuery