public interface ElasticSearchService
Modifier and Type | Method and Description |
---|---|
void |
clearScroll(EsScrollResult scrollResult)
Clear scroll on ElasticSearch cluster for the given
EsScrollResult . |
DocumentModelList |
query(CoreSession session,
org.elasticsearch.index.query.QueryBuilder queryBuilder,
int limit,
int offset,
SortInfo... sortInfos)
Deprecated.
since 6.0, use query with NxQueryBuilder
|
DocumentModelList |
query(CoreSession session,
String nxql,
int limit,
int offset,
SortInfo... sortInfos)
Deprecated.
since 6.0, use query with NxQueryBuilder
|
DocumentModelList |
query(NxQueryBuilder queryBuilder)
Returns a document list using an
NxQueryBuilder . |
EsResult |
queryAndAggregate(NxQueryBuilder queryBuilder)
Returns documents and aggregates.
|
EsScrollResult |
scroll(EsScrollResult scrollResult)
Retrieves the next batch of results of a scrollable search request for the given
EsScrollResult . |
EsScrollResult |
scroll(NxQueryBuilder queryBuilder,
long keepAlive)
Performs the initial search of a scrollable search request using an
NxQueryBuilder . |
DocumentModelList query(NxQueryBuilder queryBuilder)
NxQueryBuilder
.EsResult queryAndAggregate(NxQueryBuilder queryBuilder)
EsScrollResult scroll(NxQueryBuilder queryBuilder, long keepAlive)
NxQueryBuilder
.keepAlive
- the search context lifetimeEsScrollResult
including the search results and a scroll id, to be passed to the subsequent
calls to scroll(EsScrollResult)
EsScrollResult scroll(EsScrollResult scrollResult)
EsScrollResult
.EsScrollResult
including the search results and a scroll id, to be passed to the subsequent
calls to {code scroll}.void clearScroll(EsScrollResult scrollResult)
EsScrollResult
.@Deprecated DocumentModelList query(CoreSession session, String nxql, int limit, int offset, SortInfo... sortInfos)
@Deprecated DocumentModelList query(CoreSession session, org.elasticsearch.index.query.QueryBuilder queryBuilder, int limit, int offset, SortInfo... sortInfos)
QueryBuilder
. Fetch documents from the VCS repository.Copyright © 2018 Nuxeo. All rights reserved.