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
SearchQuery.builder
(List<SearchIndex> searchIndexes, String nxql, NuxeoPrincipal principal) static SearchQueryImpl.Builder
SearchQuery.builder
(CoreSession session, String nxql) static SearchQueryImpl.Builder
SearchQuery.builder
(SearchIndex searchIndex, String nxql) static SearchQueryImpl.Builder
SearchQuery.builder
(SearchIndex searchIndex, String nxql, NuxeoPrincipal principal) 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.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