elasticsearch\Command delete()

delete() public method Deletes a document from the index See also http://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete.html. public mixed delete ( $index, $type, $id, $options = [] )$index $type $id $options array

elasticsearch\Command createTemplate()

createTemplate() public method See also http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-templates.html. public mixed createTemplate ( $name, $pattern, $settings, $mappings, $order = 0 )$name $pattern $settings $mappings $order integer

elasticsearch\Command createIndex()

createIndex() public method Creates an index See also http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html. public mixed createIndex ( $index, $configuration = null )$index $configuration array

elasticsearch\Command closeIndex()

closeIndex() public method See also http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-open-close.html. public mixed closeIndex ( $index )$index

elasticsearch\Command clearScroll()

clearScroll() public method (available since version 2.0.4) See also https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-scroll.html. public mixed clearScroll ( $options = [] )$options array

elasticsearch\Command clearIndexCache()

clearIndexCache() public method See also http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-clearcache.html. public mixed clearIndexCache ( $index )$index

elasticsearch\Command $type

$type public property The types to execute the query on. Defaults to null meaning all types public string|array $type = null

elasticsearch\Command $queryParts

$queryParts public property List of arrays or json strings that become parts of a query public array $queryParts = null

elasticsearch\Command $options

$options public property Options to be appended to the query URL, such as "search_type" for search or "timeout" for delete public array $options = []

elasticsearch\Command $mapping

$mapping public read-only property public mixed getMapping ( $index = '_all', $type = null )