| 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) |
String |
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.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.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
|
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 |
IIdentityIndexer.createOrUpdateAlias(String oldIndex,
String newIndex,
String alias) |
void |
IdentityIndexer.deleteIndex(String index) |
void |
IIdentityIndexer.deleteIndex(String index) |
String |
IIdentityIndexer.getIndexBehindAlias(String alias) |
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.