Uses of Class
org.nuxeo.ecm.core.search.SearchQueryImpl.Builder
Packages that use SearchQueryImpl.Builder
-
Uses of SearchQueryImpl.Builder in org.nuxeo.ecm.core.search
Methods in org.nuxeo.ecm.core.search that return SearchQueryImpl.BuilderModifier and TypeMethodDescriptionSearchQueryImpl.Builder.addAggregate
(Aggregate<? extends Bucket> aggregate) Asks for an aggregate.SearchQueryImpl.Builder.addAggregates
(List<Aggregate<? extends Bucket>> aggregates) Asks for a list of aggregates.SearchQueryImpl.Builder.addHighlight
(String highlight) Asks to extract highlights for the following fields if the client supports highlight.SearchQueryImpl.Builder.addHighlights
(List<String> highlights) Asks to extract highlights for the following fields if the client supports highlight.Adds an ordering clause.Adds ordering clauses.static SearchQueryImpl.Builder
Returns a query builder initialized with an NXQL query, the current principal and the default search index of the default repository.static SearchQueryImpl.Builder
SearchQuery.builder
(String nxql, CoreSession session) Returns a query builder initialized with an NXQL query, principal and repository taken from the session, the search index is the default one for the session's repository.static SearchQueryImpl.Builder
SearchQuery.builder
(String nxql, NuxeoPrincipal principal) Returns a query builder initialized with an NXQL query on a given principal.static SearchQueryImpl.Builder
SearchQuery.builder
(List<SearchIndex> searchIndexes, String nxql, NuxeoPrincipal principal) Deprecated, for removal: This API element is subject to removal in a future version.static SearchQueryImpl.Builder
SearchQuery.builder
(CoreSession session, String nxql) Deprecated, for removal: This API element is subject to removal in a future version.since 2025.1, useSearchQuery.builder(String, CoreSession)
instead.static SearchQueryImpl.Builder
SearchQuery.builder
(SearchIndex searchIndex, String nxql) Deprecated, for removal: This API element is subject to removal in a future version.since 2025.1, useSearchQuery.builder(String)
instead.static SearchQueryImpl.Builder
SearchQuery.builder
(SearchIndex searchIndex, String nxql, NuxeoPrincipal principal) Deprecated, for removal: This API element is subject to removal in a future version.since 2025.1, useSearchQuery.builder(String, NuxeoPrincipal)
instead.Search will be performed on this search index.Search on multiple indexes to achieve multi repositories search.SearchQueryImpl.Builder.limit
(int limit) No more than that many documents will be returned.SearchQueryImpl.Builder.offset
(int offset) Says to skip that many documents before beginning to return documents.SearchQueryImpl.Builder.scrollKeepAlive
(Duration value) Sets the scroll context keep alive duration, this is the maximum duration between calls of searchScroll API, which is the time to process a SearchResponse.SearchQueryImpl.Builder.scrollSearch
(boolean value) A scroll search is for deep pagination, returning large amount of results, useSearchService.searchScroll(SearchScrollContext)
to iterate.SearchQueryImpl.Builder.scrollSize
(int scrollSize) Sets the maximum number of hits to return when using the scroll API.SearchQueryImpl.Builder.searchIndex
(List<SearchIndex> indexes) Search on one or multiple SearchIndexes.SearchQueryImpl.Builder.searchIndex
(SearchIndex index) Search will be performed on this search index.Methods in org.nuxeo.ecm.core.search with parameters of type SearchQueryImpl.BuilderModifier and TypeMethodDescriptionprotected static SQLQuery
SearchQueryImpl.buildSQLQuery
(SearchQueryImpl.Builder builder) Constructors in org.nuxeo.ecm.core.search with parameters of type SearchQueryImpl.Builder
SearchQuery.builder(String, NuxeoPrincipal)
instead.