PHP Класс Elastica\Query\Percolate

Наследование: extends AbstractQuery
Показать файл Открыть проект

Открытые методы

Метод Описание
setDocument ( $document ) The source of the document being percolated.
setDocumentId ( $id ) The id of the document to fetch.
setDocumentIndex ( $index ) The index the document resides in.
setDocumentPreference ( $preference ) Optionally, preference to be used to fetch document to percolate.
setDocumentRouting ( $routing ) Optionally, routing to be used to fetch document to percolate.
setDocumentType ( $documentType ) The type / mapping of the document being percolated. This is a required parameter.
setDocumentVersion ( $version ) Optionally, the expected version of the document to be fetched.
setExistingDocumentType ( $type ) The type of the document to fetch.
setField ( $field ) The field of type percolator and that holds the indexed queries. This is a required parameter.

Описание методов

setDocument() публичный Метод

The source of the document being percolated.
public setDocument ( $document )
$document

setDocumentId() публичный Метод

The id of the document to fetch.
public setDocumentId ( $id )
$id

setDocumentIndex() публичный Метод

The index the document resides in.
public setDocumentIndex ( $index )
$index

setDocumentPreference() публичный Метод

Optionally, preference to be used to fetch document to percolate.
public setDocumentPreference ( $preference )
$preference

setDocumentRouting() публичный Метод

Optionally, routing to be used to fetch document to percolate.
public setDocumentRouting ( $routing )
$routing

setDocumentType() публичный Метод

The type / mapping of the document being percolated. This is a required parameter.
public setDocumentType ( $documentType )
$documentType

setDocumentVersion() публичный Метод

Optionally, the expected version of the document to be fetched.
public setDocumentVersion ( $version )
$version

setExistingDocumentType() публичный Метод

The type of the document to fetch.
public setExistingDocumentType ( $type )
$type

setField() публичный Метод

The field of type percolator and that holds the indexed queries. This is a required parameter.
public setField ( $field )
$field