String |
Elastic.create(String strIndex,
Object object) |
Create a document of given type into a given index
|
String |
Elastic.create(String strIndex,
String strId,
Object object) |
Create a document of given type into a given index at the given id
|
String |
Elastic.createByBulk(String strIndex,
BulkRequest bulkRequest) |
perform a bulk indexing of documents : this is used for indexing thousand doc with one HTTP call
|
String |
Elastic.createMappings(String strIndex,
String strJsonMappings) |
|
String |
Elastic.deleteByQuery(String strIndex,
String strQuery) |
Delete a documents by Query
|
String |
Elastic.deleteDocument(String strIndex,
String strId) |
Delete a document based on its id in the index
|
String |
Elastic.deleteIndex(String strIndex) |
Delete a given index
|
boolean |
Elastic.isExists(String strIndex) |
Check if a given index exists
|
String |
Elastic.partialUpdate(String strIndex,
String strId,
Object object) |
Partial Updates to Documents
|
String |
Elastic.search(String strIndex,
SearchRequest search) |
Search a document of given type into a given index
|
String |
Elastic.search(String strIndex,
String searchRequest) |
Search
|
String |
Elastic.suggest(String strIndex,
AbstractSuggestRequest suggest) |
suggest a list of document of given type into a given index The suggest is done with a _search request with size set to 0 to avoid fetch in 'hits' so be
careful with the JSON result
|
String |
Elastic.suggest(String strIndex,
String strJSON) |
suggest a list of document of given type into a given index The suggest is done with a _search request with size set to 0 to avoid fetch in 'hits' so be
careful with the JSON result
|