Documentation

PhraseSearchQuery implements JsonSerializable, SearchQuery

A FTS query that matches several terms (a "phrase") as is. The order of the terms mater and no further processing is applied to them, so they must appear in the index exactly as provided. Usually for debugging purposes, prefer MatchPhraseQuery.

Table of Contents

jsonSerialize() mixed
__construct() mixed
boost() PhraseSearchQuery
field() PhraseSearchQuery

Methods

jsonSerialize()

public jsonSerialize( ) : mixed
Return values
mixed

__construct()

public __construct( ...$terms : string ) : mixed
Parameters
$terms : string
Return values
mixed

Search results