Documentation

PrefixSearchQuery implements JsonSerializable, SearchQuery

A FTS query that allows for simple matching on a given prefix.

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()  : PrefixSearchQuery
field()  : PrefixSearchQuery
jsonSerialize()  : mixed

Methods

__construct()

public __construct(string $prefix) : mixed
Parameters
$prefix : string
Return values
mixed

jsonSerialize()

public jsonSerialize() : mixed
Return values
mixed

Search results