public class ElasticSearchServiceImpl extends Object implements ElasticSearchService
Constructor and Description |
---|
ElasticSearchServiceImpl(ElasticSearchAdminImpl esa) |
Modifier and Type | Method and Description |
---|---|
DocumentModelList |
query(CoreSession session,
org.elasticsearch.index.query.QueryBuilder queryBuilder,
int limit,
int offset,
SortInfo... sortInfos)
Deprecated.
|
DocumentModelList |
query(CoreSession session,
String nxql,
int limit,
int offset,
SortInfo... sortInfos)
Deprecated.
|
DocumentModelList |
query(NxQueryBuilder queryBuilder)
Returns a document list using an
NxQueryBuilder . |
EsResult |
queryAndAggregate(NxQueryBuilder queryBuilder)
Returns documents and aggregates.
|
public ElasticSearchServiceImpl(ElasticSearchAdminImpl esa)
@Deprecated public DocumentModelList query(CoreSession session, String nxql, int limit, int offset, SortInfo... sortInfos) throws ClientException
ElasticSearchService
query
in interface ElasticSearchService
ClientException
@Deprecated public DocumentModelList query(CoreSession session, org.elasticsearch.index.query.QueryBuilder queryBuilder, int limit, int offset, SortInfo... sortInfos) throws ClientException
ElasticSearchService
QueryBuilder
. Fetch documents from the VCS repository.query
in interface ElasticSearchService
ClientException
public DocumentModelList query(NxQueryBuilder queryBuilder) throws ClientException
ElasticSearchService
NxQueryBuilder
.query
in interface ElasticSearchService
ClientException
public EsResult queryAndAggregate(NxQueryBuilder queryBuilder) throws ClientException
ElasticSearchService
queryAndAggregate
in interface ElasticSearchService
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.