Elastica\Query\Percolate::setDocumentType PHP Метод

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

The type / mapping of the document being percolated. This is a required parameter.
public setDocumentType ( $documentType )
$documentType
    public function setDocumentType($documentType)
    {
        return $this->setParam('document_type', $documentType);
    }