Method |
Description |
|
clearIndexCache ( $index ) : mixed |
|
|
clearScroll ( array $options = [] ) : mixed |
|
|
closeIndex ( $index ) : mixed |
|
|
createIndex ( $index, array $configuration = null ) : mixed |
creates an index |
|
createTemplate ( $name, $pattern, $settings, $mappings, integer $order ) : mixed |
|
|
delete ( $index, $type, $id, array $options = [] ) : mixed |
deletes a document from the index |
|
deleteAllIndexes ( ) : mixed |
deletes all indexes |
|
deleteByQuery ( array $options = [] ) : mixed |
Sends a request to the delete by query |
|
deleteIndex ( $index ) : mixed |
deletes an index |
|
deleteMapping ( $index, $type ) : mixed |
|
|
deleteTemplate ( $name ) : mixed |
|
|
exists ( $index, $type, $id ) : mixed |
gets a document from the index |
|
flushIndex ( $index = '_all' ) : mixed |
|
|
get ( $index, $type, $id, array $options = [] ) : mixed |
gets a document from the index |
|
getIndexStatus ( $index = '_all' ) : mixed |
|
|
getMapping ( string $index = '_all', string $type = null ) : mixed |
|
|
getSource ( $index, $type, $id ) : mixed |
gets a documents _source from the index (>=v0.90.1) |
|
getTemplate ( $name ) : mixed |
|
|
indexExists ( $index ) : mixed |
checks whether an index exists |
|
insert ( string $index, string $type, string | array $data, null $id = null, array $options = [] ) : mixed |
Inserts a document into an index |
|
mget ( $index, $type, $ids, array $options = [] ) : mixed |
gets multiple documents from the index |
|
openIndex ( $index ) : mixed |
|
|
refreshIndex ( $index ) : mixed |
|
|
scroll ( array $options = [] ) : mixed |
|
|
search ( array $options = [] ) : mixed |
Sends a request to the _search API and returns the result |
|
setMapping ( string $index, string $type, string | array $mapping, array $options = [] ) : mixed |
|
|
suggest ( string | array $suggester, array $options = [] ) : mixed |
Sends a request to the _suggest API and returns the result |
|
typeExists ( $index, $type ) : mixed |
|
|
update ( $index, $type, $id, $data, array $options = [] ) : mixed |
updates a document |
|
updateAnalyzers ( string $index, string | array $setting, array $options = [] ) : mixed |
Define new analyzers for the index. |
|
updateSettings ( string $index, string | array $setting, array $options = [] ) : mixed |
Change specific index level settings in real time. |
|