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