Documentation

DisjunctionSearchQuery implements JsonSerializable, SearchQuery

A compound FTS query that performs a logical OR between all its sub-queries (disjunction). It requires that a minimum of the queries match. The minimum is configurable (default 1).

Interfaces, Classes and Traits

JsonSerializable
SearchQuery
Common interface for all classes, which could be used as a body of SearchQuery

Table of Contents

__construct()  : mixed
boost()  : DisjunctionSearchQuery
either()  : DisjunctionSearchQuery
jsonSerialize()  : mixed
min()  : DisjunctionSearchQuery

Methods

__construct()

public __construct(array<string|int, mixed> $queries) : mixed
Parameters
$queries : array<string|int, mixed>
Return values
mixed

jsonSerialize()

public jsonSerialize() : mixed
Return values
mixed

Search results