Метод |
Описание |
|
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. |
|