Documentation

ConjunctionSearchQuery
in package
implements JsonSerializable, SearchQuery

A compound FTS query that performs a logical AND between all its sub-queries (conjunction).

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
$queries  : array<string|int, mixed>
__construct()  : mixed
and()  : ConjunctionSearchQuery
Adds new predicate queries to this conjunction query.
boost()  : ConjunctionSearchQuery
Sets the boost for this query.
build()  : ConjunctionSearchQuery
Static helper to keep code more readable
childQueries()  : array<string|int, mixed>
every()  : ConjunctionSearchQuery

Properties

Methods

__construct()

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

childQueries()

public childQueries() : array<string|int, mixed>
Return values
array<string|int, mixed>

        

Search results