public interface ElasticSearchClient
| 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> |
search(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> |
searchInField(String query,
Set<String> vreIDS,
int from,
int quantity,
org.gcube.socialnetworking.social_data_indexing_common.utils.SearchableFields field)
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> search(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 fromList<org.gcube.portal.databook.shared.EnhancedFeed> searchInField(String query, Set<String> vreIDS, int from, int quantity, org.gcube.socialnetworking.social_data_indexing_common.utils.SearchableFields field)
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 fromfield - the field against which the query is performedboolean deleteDocument(String docID)
docID - the id of the doc to deleteCopyright © 2019. All Rights Reserved.