Documentation

BooleanSearchQuery
in package
implements JsonSerializable, SearchQuery

A compound FTS query that allows various combinations of sub-queries.

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
$must  : ConjunctionSearchQuery
$mustNot  : DisjunctionSearchQuery
$should  : DisjunctionSearchQuery
__construct()  : mixed
boost()  : BooleanSearchQuery
Sets the boost for this query.
build()  : BooleanSearchQuery
Static helper to keep code more readable
min()  : BooleanSearchQuery
Sets the minimum value before that should query will boost.
must()  : BooleanSearchQuery
Sets a query which must match.
mustNot()  : BooleanSearchQuery
Sets a query which must not match.
should()  : BooleanSearchQuery
Sets a query which must should match.

Properties

Methods


        

Search results