| Modifier and Type | Method and Description |
|---|---|
String |
ElasticClient.create(String strIndex,
Object object)
Create a document of given type into a given index
|
String |
ElasticClient.create(String strIndex,
String strId,
Object object)
Create a document of given type into a given index at the given id
|
String |
ElasticClient.createAlias(String strIndex,
String alias) |
void |
ElasticClient.createMappings(String strIndex,
String strJsonMappings) |
String |
ElasticClient.deleteAlias(String strIndex,
String alias) |
String |
ElasticClient.deleteByQuery(String strIndex,
String strQuery)
Delete a documents by Query
|
String |
ElasticClient.deleteDocument(String strIndex,
String strId)
Delete a document based on its id in the index
|
String |
ElasticClient.deleteIndex(String strIndex)
Delete a given index
|
String |
ElasticClient.get(String strIndex,
String strId)
Search
|
String |
ElasticClient.getAlias(String alias) |
String |
ElasticClient.indexByBulk(String strIndex,
List<BulkAction> bulkActions)
perform a bulk indexing of documents : this is used for indexing thousand doc with one HTTP call
|
boolean |
ElasticClient.isExists(String strIndex)
Check if a given index exists
|
String |
ElasticClient.multiSearch(String strIndex,
List<MultiSearchAction> searchActions)
perform a multi search of documents : used to perform several query with a single http call
|
String |
ElasticClient.search(String strIndex,
Object search)
Search a document of given type into a given index
|
String |
ElasticClient.search(String strIndex,
String searchRequest)
Search
|
String |
ElasticClient.update(String strIndex,
String strId,
Object object)
Partial Updates to Documents
|
String |
ElasticClient.updateSettings(String strIndex,
String strJsonSettings) |
| Modifier and Type | Method and Description |
|---|---|
void |
IdentityIndexer.deleteIndex(String index) |
void |
IIdentityIndexer.deleteIndex(String index) |
void |
IdentityIndexer.initIndex(String index) |
void |
IIdentityIndexer.initIndex(String index) |
void |
IdentityIndexer.makeIndexReadOnly(String index) |
void |
IIdentityIndexer.makeIndexReadOnly(String index) |
Copyright © 2023 City of Paris. All rights reserved.