Package | Description |
---|---|
fr.paris.lutece.plugins.libraryelastic.util |
Modifier and Type | Method and Description |
---|---|
String |
Elastic.create(String strIndex,
String strType,
Object object)
Create a document of given type into a given index
|
String |
Elastic.create(String strIndex,
String strType,
String strId,
Object object)
Create a document of given type into a given index at the given id
|
String |
Elastic.createMappings(String strIndex,
String strJsonMappings) |
String |
Elastic.deleteDocument(String strIndex,
String strType,
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.search(String strIndex,
SearchRequest search)
Search a document of given type into a given index
|
String |
Elastic.suggest(String strIndex,
AbstractSuggestRequest suggest)
suggest a list of document of given type into a given index
|
Copyright © 2017 City of Paris. All rights reserved.