include/SugarSearchEngine/Elastic/Elastica/Percolator.php
Percolator class
- Author
- Nicolas Ruflin
- Category
- Xodoa
- Link
- http://www.elasticsearch.org/guide/reference/api/percolate.html
- Package
- Elastica
\Elastica_Percolator
Package: Elastica
Percolator class
- Author
- Nicolas Ruflin
- Category
- Xodoa
- Link
- http://www.elasticsearch.org/guide/reference/api/percolate.html
Properties
Methods
matchDoc(
\Elastica_Document $doc, string | \Elastica_Query | \Elastica_Query_Abstract $query
=
null
)
:
\Elastica_Resonse
Match a document to percolator queries
registerQuery(
string $name, string | \Elastica_Query | \Elastica_Query_Abstract $query
)
:
\Elastica_Resonse
Registers a percolator query