Uses of Class
org.nuxeo.elasticsearch.query.NxQueryBuilder
-
Packages that use NxQueryBuilder Package Description org.nuxeo.elasticsearch org.nuxeo.elasticsearch.api org.nuxeo.elasticsearch.core org.nuxeo.elasticsearch.provider org.nuxeo.elasticsearch.query -
-
Uses of NxQueryBuilder in org.nuxeo.elasticsearch
Methods in org.nuxeo.elasticsearch with parameters of type NxQueryBuilder Modifier and Type Method Description DocumentModelList
ElasticSearchComponent. query(NxQueryBuilder queryBuilder)
EsResult
ElasticSearchComponent. queryAndAggregate(NxQueryBuilder queryBuilder)
EsScrollResult
ElasticSearchComponent. scroll(NxQueryBuilder queryBuilder, long keepAlive)
-
Uses of NxQueryBuilder in org.nuxeo.elasticsearch.api
Fields in org.nuxeo.elasticsearch.api declared as NxQueryBuilder Modifier and Type Field Description protected NxQueryBuilder
EsScrollResult. queryBuilder
NxQueryBuilder
used for the initial search request.Methods in org.nuxeo.elasticsearch.api that return NxQueryBuilder Modifier and Type Method Description NxQueryBuilder
EsScrollResult. getQueryBuilder()
Methods in org.nuxeo.elasticsearch.api with parameters of type NxQueryBuilder Modifier and Type Method Description DocumentModelList
ElasticSearchService. query(NxQueryBuilder queryBuilder)
Returns a document list using anNxQueryBuilder
.EsResult
ElasticSearchService. queryAndAggregate(NxQueryBuilder queryBuilder)
Returns documents and aggregates.EsScrollResult
ElasticSearchService. scroll(NxQueryBuilder queryBuilder, long keepAlive)
Performs the initial search of a scrollable search request using anNxQueryBuilder
.Constructors in org.nuxeo.elasticsearch.api with parameters of type NxQueryBuilder Constructor Description EsScrollResult(org.elasticsearch.action.search.SearchResponse response, NxQueryBuilder queryBuilder, String scrollId, long keepAlive)
EsScrollResult(DocumentModelList documents, org.elasticsearch.action.search.SearchResponse response, NxQueryBuilder queryBuilder, String scrollId, long keepAlive)
EsScrollResult(IterableQueryResult rows, org.elasticsearch.action.search.SearchResponse response, NxQueryBuilder queryBuilder, String scrollId, long keepAlive)
EsScrollResult(NxQueryBuilder queryBuilder, String scrollId, long keepAlive)
-
Uses of NxQueryBuilder in org.nuxeo.elasticsearch.core
Methods in org.nuxeo.elasticsearch.core with parameters of type NxQueryBuilder Modifier and Type Method Description protected org.elasticsearch.action.search.SearchRequest
ElasticSearchServiceImpl. buildEsSearchRequest(NxQueryBuilder query, org.elasticsearch.action.search.SearchType searchType)
protected org.elasticsearch.action.search.SearchRequest
ElasticSearchServiceImpl. buildEsSearchScrollRequest(NxQueryBuilder query, org.elasticsearch.action.search.SearchType searchType, long keepAlive)
protected List<Aggregate<Bucket>>
ElasticSearchServiceImpl. getAggregates(NxQueryBuilder queryBuilder, org.elasticsearch.action.search.SearchResponse response)
protected DocumentModelListImpl
ElasticSearchServiceImpl. getDocumentModels(NxQueryBuilder queryBuilder, org.elasticsearch.action.search.SearchResponse response)
protected EsScrollResult
ElasticSearchServiceImpl. getScrollResults(NxQueryBuilder queryBuilder, org.elasticsearch.action.search.SearchResponse response, String scrollId, long keepAlive)
protected String
ElasticSearchServiceImpl. getSearchIndexesAsString(NxQueryBuilder query)
protected void
ElasticSearchServiceImpl. logSearchRequest(org.elasticsearch.action.search.SearchRequest request, NxQueryBuilder query, org.elasticsearch.action.search.SearchType searchType)
DocumentModelList
ElasticSearchServiceImpl. query(NxQueryBuilder queryBuilder)
EsResult
ElasticSearchServiceImpl. queryAndAggregate(NxQueryBuilder queryBuilder)
EsScrollResult
ElasticSearchServiceImpl. scroll(NxQueryBuilder queryBuilder, long keepAlive)
protected EsScrollResult
ElasticSearchServiceImpl. scroll(NxQueryBuilder queryBuilder, org.elasticsearch.action.search.SearchType searchType, long keepAlive)
protected org.elasticsearch.action.search.SearchResponse
ElasticSearchServiceImpl. search(NxQueryBuilder query)
protected org.elasticsearch.action.search.SearchResponse
ElasticSearchServiceImpl. searchScroll(NxQueryBuilder query, org.elasticsearch.action.search.SearchType searchType, long keepAlive)
-
Uses of NxQueryBuilder in org.nuxeo.elasticsearch.provider
Methods in org.nuxeo.elasticsearch.provider that return NxQueryBuilder Modifier and Type Method Description protected NxQueryBuilder
ElasticSearchNxqlPageProvider. getQueryBuilder(CoreSession session)
-
Uses of NxQueryBuilder in org.nuxeo.elasticsearch.query
Methods in org.nuxeo.elasticsearch.query that return NxQueryBuilder Modifier and Type Method Description NxQueryBuilder
NxQueryBuilder. addAggregate(AggregateEsBase<? extends org.elasticsearch.search.aggregations.Aggregation,? extends Bucket> aggregate)
NxQueryBuilder
NxQueryBuilder. addAggregates(List<AggregateEsBase<? extends org.elasticsearch.search.aggregations.Aggregation,? extends Bucket>> aggregates)
NxQueryBuilder
NxQueryBuilder. addSearchRepository(String repositoryName)
Add a specific repository to search.NxQueryBuilder
NxQueryBuilder. addSort(SortInfo sortInfo)
NxQueryBuilder
NxQueryBuilder. addSort(SortInfo[] sortInfos)
NxQueryBuilder
NxQueryBuilder. esQuery(org.elasticsearch.index.query.QueryBuilder queryBuilder)
Build the query using the Elasticsearch QueryBuilder API.NxQueryBuilder
NxQueryBuilder. fetchFromDatabase()
Fetch the documents using VCS (database) engine.NxQueryBuilder
NxQueryBuilder. fetchFromElasticsearch()
Ask for the Elasticsearch _source field, use it to build documents.NxQueryBuilder
NxQueryBuilder. highlight(List<String> highlightFields)
NxQueryBuilder
NxQueryBuilder. hitDocConsumer(EsFetcher.HitDocConsumer consumer)
If search results are found, use this SearchHit and DocumentModel consumer on each hit.NxQueryBuilder
NxQueryBuilder. limit(int limit)
No more than that many documents will be returned.NxQueryBuilder
NxQueryBuilder. nxql(String nxql)
Build the query from a NXQL string.NxQueryBuilder
NxQueryBuilder. offset(int offset)
Says to skip that many documents before beginning to return documents.NxQueryBuilder
NxQueryBuilder. onlyElasticsearchResponse()
Don't return document model list, aggregates or rows, only the original Elasticsearch response is accessible fromEsResult.getElasticsearchResponse()
NxQueryBuilder
NxQueryBuilder. searchOnAllRepositories()
Search on all available repositories.NxQueryBuilder
NxQueryBuilder. useUnrestrictedSession(boolean useUnrestrictedSession)
-