Skip to content

Latest commit

 

History

History
68 lines (54 loc) · 3.93 KB

File metadata and controls

68 lines (54 loc) · 3.93 KB

Query objects

Every object is as close to documentation as possible. Also reference provided in doc blocks where possible. Like this

Every query object implements \Spameri\ElasticQuery\Query\LeafQueryInterface and is capable of converting to array.

Must and should collection of objects is also LeafQueryInterface, so you can nest rules as you need.

Implementations

Match Query
MatchPhrase Query
Fuzzy Query
Range Query
Term Query
Terms Query
WildCard Query
QueryCollection Query
  • Class \Spameri\ElasticQuery\Query\QueryCollection
  • Implementation
  • This is query for nesting your must, must_not and should sub queries.
MustCollection Query
MustNotCollection Query
ShouldCollection Query