RegexpSearchQuery
in package
implements
JsonSerializable, SearchQuery
A FTS query that allows for simple matching of regular expressions.
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() : RegexpSearchQuery
- field() : RegexpSearchQuery
- jsonSerialize() : mixed
Methods
__construct()
public
__construct(string $regexp) : mixed
Parameters
- $regexp : string
Return values
mixed —boost()
public
boost(float $boost) : RegexpSearchQuery
Parameters
- $boost : float
Return values
RegexpSearchQuery —field()
public
field(string $field) : RegexpSearchQuery
Parameters
- $field : string
Return values
RegexpSearchQuery —jsonSerialize()
public
jsonSerialize() : mixed