public interface ElasticSearchClientInterface
Modifier and Type | Method and Description |
---|---|
boolean |
deleteDocument(String docID)
Delete from the index a document with id docID.
|
List<org.gcube.portal.databook.shared.EnhancedFeed> |
searchInEnhancedFeeds(String query,
Set<String> vreIDS,
int from,
int quantity)
Given a query, the method find matching enhanced feeds into the elasticsearch index and return
at most quantity hits starting from from.
|
List<org.gcube.portal.databook.shared.EnhancedFeed> searchInEnhancedFeeds(String query, Set<String> vreIDS, int from, int quantity)
query
- the query to matchvreIDS
- specifies the vre(s) to which the returning feeds must belongfrom
- start hits indexquantity
- max number of hits to return starting from fromboolean deleteDocument(String docID)
docID
- the id of the doc to deleteCopyright © 2016. All Rights Reserved.