Uses of Interface
com.atlassian.confluence.search.v2.SearchQuery
-
-
Uses of SearchQuery in com.atlassian.confluence.event.events.search
Methods in com.atlassian.confluence.event.events.search that return SearchQuery Modifier and Type Method Description SearchQuerySearchPerformedEvent. getSearchQuery()Constructors in com.atlassian.confluence.event.events.search with parameters of type SearchQuery Constructor Description SearchPerformedEvent(Object source, SearchQuery search, com.atlassian.user.User user, int numberOfResults) -
Uses of SearchQuery in com.atlassian.confluence.impl.plugin.descriptor.search
Methods in com.atlassian.confluence.impl.plugin.descriptor.search that return SearchQuery Modifier and Type Method Description SearchQuerySearchQueryModuleDescriptor. newQuery(List parameters) -
Uses of SearchQuery in com.atlassian.confluence.impl.search
Methods in com.atlassian.confluence.impl.search with parameters of type SearchQuery Modifier and Type Method Description ReIndexTaskCompositeIndexManager. reIndex(EnumSet<ReIndexOption> options, SearchQuery searchQuery) -
Uses of SearchQuery in com.atlassian.confluence.impl.search.v2
Classes in com.atlassian.confluence.impl.search.v2 that implement SearchQuery Modifier and Type Class Description classSiteSearchPermissionsQueryThis is used in conjunction with theSiteSearchPermissionsQueryMapper, which map it to aFilteredQueryclassSpacePermissionQueryDeprecated.since 8.0, useSpacePermissionQueryFactory.create(ConfluenceUser)Methods in com.atlassian.confluence.impl.search.v2 that return SearchQuery Modifier and Type Method Description SearchQueryDefaultSiteSearchPermissionsQueryFactory. create()SearchQueryDefaultSpacePermissionQueryFactory. create(ConfluenceUser user)SearchQuerySiteSearchPermissionsFilteredQueryFactory. create()SearchQuerySpacePermissionFilteredQueryFactory. create(ConfluenceUser user)Deprecated.SearchQueryDefaultQueryFactory. newQuery(String queryKey)SearchQueryDefaultQueryFactory. newQuery(String queryKey, List parameters)Methods in com.atlassian.confluence.impl.search.v2 that return types with arguments of type SearchQuery Modifier and Type Method Description Optional<SearchQuery>DefaultContentPermissionsQueryFactory. create(ConfluenceUser user) -
Uses of SearchQuery in com.atlassian.confluence.impl.search.v2.mappers
Classes in com.atlassian.confluence.impl.search.v2.mappers with type parameters of type SearchQuery Modifier and Type Class Description classAbstractTextFieldQueryMapper<T extends SearchQuery>classBaseConstantScoreQueryMapper<T extends SearchQuery>A base LuceneQueryMapper class that produces ConstantScoreQuery, removing any effect of the query from the lucene scoring, this is equivalent of using a LuceneFilter.Methods in com.atlassian.confluence.impl.search.v2.mappers with parameters of type SearchQuery Modifier and Type Method Description org.apache.lucene.search.QueryMatchNoDocsQueryMapper. convertToLuceneQuery(SearchQuery searchQuery) -
Uses of SearchQuery in com.atlassian.confluence.index
Methods in com.atlassian.confluence.index that return SearchQuery Modifier and Type Method Description SearchQueryReIndexSpec. getDeleteQuery()Constructors in com.atlassian.confluence.index with parameters of type SearchQuery Constructor Description ReIndexSpec(SearchQuery deleteQuery, int concurrencyLevel, List<HibernateHandle> handles, String name) -
Uses of SearchQuery in com.atlassian.confluence.internal.index
Methods in com.atlassian.confluence.internal.index with parameters of type SearchQuery Modifier and Type Method Description voidReIndexer. reIndex(EnumSet<ReIndexOption> options, @NonNull SearchQuery searchQuery, Progress progress)Triggers a system wide re-index re-index all entities loaded from searchQuery. -
Uses of SearchQuery in com.atlassian.confluence.internal.index.lucene
Methods in com.atlassian.confluence.internal.index.lucene with parameters of type SearchQuery Modifier and Type Method Description ReIndexTaskFullReindexManager. reIndex(EnumSet<ReIndexOption> options, SearchQuery searchQuery)Triggers a system-wide re-index where entities are loaded using providedsearchQuery.ReIndexTaskLuceneFullReindexManager. reIndex(EnumSet<ReIndexOption> options, SearchQuery searchQuery)voidLuceneReIndexer. reIndex(EnumSet<ReIndexOption> maybeOptions, @NonNull SearchQuery searchQuery, Progress progress)longLuceneSearchIndexAccessor. scan(SearchQuery searchQuery, Set<String> requestedFields, Consumer<ScannedDocument> consumer, float defaultSCore)longLuceneSearchIndexAccessor. scan(SearchQuery searchQuery, Set<String> requestedFields, Consumer<Map<String,String[]>> consumer) -
Uses of SearchQuery in com.atlassian.confluence.internal.search
Methods in com.atlassian.confluence.internal.search with parameters of type SearchQuery Modifier and Type Method Description longDecoratedSearchManager. scan(SearchQuery searchQuery, Set<String> requestedFields, Consumer<Map<String,String[]>> consumer)longDecoratedSearchManager. scan(EnumSet<SearchIndex> indexes, SearchQuery searchQuery, Set<String> requestedFields, Consumer<Map<String,String[]>> consumer) -
Uses of SearchQuery in com.atlassian.confluence.internal.search.v2
Methods in com.atlassian.confluence.internal.search.v2 with parameters of type SearchQuery Modifier and Type Method Description longProfiledSearchManager. scan(SearchQuery searchQuery, Set<String> requestedFields, Consumer<Map<String,String[]>> consumer)longProfiledSearchManager. scan(EnumSet<SearchIndex> indexes, SearchQuery searchQuery, Set<String> requestedFields, Consumer<Map<String,String[]>> consumer) -
Uses of SearchQuery in com.atlassian.confluence.internal.search.v2.lucene
Classes in com.atlassian.confluence.internal.search.v2.lucene with type parameters of type SearchQuery Modifier and Type Interface Description interfaceLuceneQueryMapper<T extends SearchQuery>A lucene query mapper represents an object that is able to map from a ConfluenceSearchQueryto a LuceneQuery.Methods in com.atlassian.confluence.internal.search.v2.lucene with parameters of type SearchQuery Modifier and Type Method Description org.apache.lucene.search.QueryDelegatingLuceneSearchMapper. convertToLuceneQuery(SearchQuery searchQuery)longLuceneSearchManager. scan(SearchQuery searchQuery, Set<String> requestedFields, Consumer<Map<String,String[]>> consumer)ExecuteConsumer.accept(T)for each search result.longLuceneSearchManager. scan(EnumSet<SearchIndex> indexes, SearchQuery searchQuery, Set<String> requestedFields, Consumer<Map<String,String[]>> consumer)ExecuteConsumer.accept(T)for each search result. -
Uses of SearchQuery in com.atlassian.confluence.internal.search.v2.query
Methods in com.atlassian.confluence.internal.search.v2.query with type parameters of type SearchQuery Modifier and Type Method Description static <T extends SearchQuery>
booleanSearchQueryUtils. containsQuery(SearchQuery searchQuery, Class<T> searchQueryClass)Traverses the provided search query tree and checks whether it contains any queries of the specified classMethods in com.atlassian.confluence.internal.search.v2.query that return SearchQuery Modifier and Type Method Description static SearchQuerySearchQueryUtils. appendIfQueryNotPresent(@Nullable SearchQuery searchQuery, SearchQuery searchQueryToCheck, SearchQuery searchQueryToAppend)Append a search query as a top level AND query, if thesearchQueryToCheckdoes not exist in the current search query tree.Methods in com.atlassian.confluence.internal.search.v2.query with parameters of type SearchQuery Modifier and Type Method Description static SearchQuerySearchQueryUtils. appendIfQueryNotPresent(@Nullable SearchQuery searchQuery, SearchQuery searchQueryToCheck, SearchQuery searchQueryToAppend)Append a search query as a top level AND query, if thesearchQueryToCheckdoes not exist in the current search query tree.static <T extends SearchQuery>
booleanSearchQueryUtils. containsQuery(SearchQuery searchQuery, Class<T> searchQueryClass)Traverses the provided search query tree and checks whether it contains any queries of the specified class -
Uses of SearchQuery in com.atlassian.confluence.macro.query
Methods in com.atlassian.confluence.macro.query that return SearchQuery Modifier and Type Method Description SearchQuerySearchQueryInterpreter. createSearchQuery(String value)Methods in com.atlassian.confluence.macro.query with parameters of type SearchQuery Modifier and Type Method Description voidBooleanQueryFactory. addMust(SearchQuery query)Adds the specifiedSearchQueryto the "must match" criteria.voidBooleanQueryFactory. addMustNot(SearchQuery query)Adds the specifiedSearchQueryto the "must not match" criteria.voidBooleanQueryFactory. addShould(SearchQuery query)Adds the specifiedSearchQueryto the "should match" criteria.Method parameters in com.atlassian.confluence.macro.query with type arguments of type SearchQuery Modifier and Type Method Description voidBooleanQueryFactory. addMust(Collection<? extends SearchQuery> queries)Adds the specifiedCollection<SearchQuery>to the "must match" criteria.voidBooleanQueryFactory. addMustNot(Collection<? extends SearchQuery> queries)Adds the specifiedCollection<SearchQuery>to the "must not match" criteria.voidBooleanQueryFactory. addShould(Collection<? extends SearchQuery> queries)Adds the specifiedCollection<SearchQuery>to the "should match" criteria.Constructor parameters in com.atlassian.confluence.macro.query with type arguments of type SearchQuery Constructor Description BooleanQueryFactory(Set<SearchQuery> must, Set<SearchQuery> should, Set<SearchQuery> mustNot)Constructs aBooleanQueryFactorywith the specifiedSearchQueriesas initial values. -
Uses of SearchQuery in com.atlassian.confluence.plugins.contentproperty.search.fields
Methods in com.atlassian.confluence.plugins.contentproperty.search.fields that return SearchQuery Modifier and Type Method Description protected SearchQueryNumericContentPropertyAliasFieldHandler. createQuery(Double from, Double to, boolean includesFrom, boolean includesTo) -
Uses of SearchQuery in com.atlassian.confluence.plugins.contentproperty.search.query
Methods in com.atlassian.confluence.plugins.contentproperty.search.query that return SearchQuery Modifier and Type Method Description SearchQueryContentPropertySearchQueryFactory. buildNumberRangeQuery(ContentPropertySchemaField schemaField, Range<Double> range)SearchQueryContentPropertySearchQueryFactory. buildStringEqualityQuery(ContentPropertySchemaField schemaField, String... value)Build a generic string equality query.SearchQueryContentPropertySearchQueryFactory. buildTextQuery(ContentPropertySchemaField schemaField, String rawQuery) -
Uses of SearchQuery in com.atlassian.confluence.rss
Methods in com.atlassian.confluence.rss that return SearchQuery Modifier and Type Method Description SearchQueryFeedCustomContentType. toSearchQuery() -
Uses of SearchQuery in com.atlassian.confluence.search
Methods in com.atlassian.confluence.search that return SearchQuery Modifier and Type Method Description abstract SearchQueryReIndexOption. getDeleteQuery()Methods in com.atlassian.confluence.search with parameters of type SearchQuery Modifier and Type Method Description ReIndexTaskIndexManager. reIndex(EnumSet<ReIndexOption> options, SearchQuery searchQuery)Triggers a system wide re-index.Constructor parameters in com.atlassian.confluence.search with type arguments of type SearchQuery Constructor Description ReIndexTask(ReIndexer reIndexer, SearchableDao searchableDao, EnumSet<ReIndexOption> options, Optional<SearchQuery> searchQuery, int jobID) -
Uses of SearchQuery in com.atlassian.confluence.search.contentnames
Methods in com.atlassian.confluence.search.contentnames that return SearchQuery Modifier and Type Method Description SearchQueryContentNameSearchSectionSpec. getFilter() -
Uses of SearchQuery in com.atlassian.confluence.search.plugin
Methods in com.atlassian.confluence.search.plugin that return SearchQuery Modifier and Type Method Description SearchQueryContentTypeSearchDescriptor. getQuery() -
Uses of SearchQuery in com.atlassian.confluence.search.service
Methods in com.atlassian.confluence.search.service that return SearchQuery Modifier and Type Method Description SearchQuerySearchQueryParameters. getSearchQueryFilter()Methods in com.atlassian.confluence.search.service with parameters of type SearchQuery Modifier and Type Method Description voidSearchQueryParameters. setSearchQueryFilter(SearchQuery searchQueryFilter) -
Uses of SearchQuery in com.atlassian.confluence.search.v2
Fields in com.atlassian.confluence.search.v2 declared as SearchQuery Modifier and Type Field Description protected SearchQueryAbstractSearch. queryMethods in com.atlassian.confluence.search.v2 that return SearchQuery Modifier and Type Method Description SearchQuerySiteSearchPermissionsQueryFactory. create()SearchQuerySpacePermissionQueryFactory. create(ConfluenceUser user)default SearchQuerySearchQuery. expand()Expands this query into a composite query (that composes other queries).@NonNull SearchQueryAbstractSearch. getQuery()Gets the query component of the searchSearchQueryDefaultHighlightParams. getQuery()@NonNull SearchQueryDefaultSearchWithToken. getQuery()default SearchQueryHightlightParams. getQuery()@NonNull SearchQueryISearch. getQuery()SearchQueryQueryFactory. newQuery(String queryKey)Generate a SearchQuery without parametersSearchQueryQueryFactory. newQuery(String queryKey, List parameters)Generate a SearchQuery with parameters.SearchQueryQuerySerializer. stringToQuery(String s)Convert a string-form query back into object form.Methods in com.atlassian.confluence.search.v2 that return types with arguments of type SearchQuery Modifier and Type Method Description Optional<SearchQuery>ContentPermissionsQueryFactory. create(ConfluenceUser user)default Stream<SubClause<SearchQuery>>SearchQuery. getSubClauses()Returns a stream of nested queries.Methods in com.atlassian.confluence.search.v2 with parameters of type SearchQuery Modifier and Type Method Description voidSearchIndexWriter. delete(SearchQuery searchQuery)static StringQuerySerializer. queryToString(SearchQuery query)Convert a SearchQuery into a string form that can be transported over the wire, saved, and so onlongDelegatingSearchIndexAccessor. scan(SearchQuery searchQuery, Set<String> requestedFields, Consumer<ScannedDocument> consumer, float defaultScore)longDelegatingSearchIndexAccessor. scan(SearchQuery searchQuery, Set<String> requestedFields, Consumer<Map<String,String[]>> consumer)longSearchIndexAccessor. scan(SearchQuery searchQuery, Set<String> requestedFields, Consumer<ScannedDocument> consumer, float defaultScore)Scans the index for documents that match the provided searchQuery.longSearchIndexAccessor. scan(SearchQuery searchQuery, Set<String> requestedFields, Consumer<Map<String,String[]>> consumer)Scans the index for documents that match the provided searchQuery.longSearchManager. scan(SearchQuery searchQuery, Set<String> requestedFields, Consumer<Map<String,String[]>> consumer)Deprecated.since 7.9.0.longSearchManager. scan(EnumSet<SearchIndex> indexes, SearchQuery searchQuery, Set<String> requestedFields, Consumer<Map<String,String[]>> consumer)ExecuteConsumer.accept(T)for each search result.Constructors in com.atlassian.confluence.search.v2 with parameters of type SearchQuery Constructor Description AbstractSearch(EnumSet<SearchIndex> indexes, @NonNull SearchQuery query, SearchSort sort)Constructs an abstract representation of a search to be performed.AbstractSearch(EnumSet<SearchIndex> indexes, @NonNull SearchQuery query, SearchSort sort, int startOffset, int limit)Constructs an abstract representation of a search to be performed.ChangesSearch(@NonNull SearchQuery query, SearchSort sort)Constructs a search against change information.ChangesSearch(@NonNull SearchQuery query, SearchSort sort, int startOffset, int limit)Constructs a search against change information.ContentSearch(SearchQuery query, SearchSort sort)Constructs a search against Confluence content.ContentSearch(SearchQuery query, SearchSort sort, int startOffset, int limit)Constructs a search against Confluence content.CustomSearch(@NonNull SearchQuery query, SearchSort sort)Constructs a search against custom indexes.CustomSearch(@NonNull SearchQuery query, SearchSort sort, int startOffset, int limit)Constructs a search against custom indexes.DefaultHighlightParams(SearchQuery query)Constructs a parameter object used for highlightingDefaultHighlightParams(String encoder, SearchQuery query)Constructs a parameter object used for highlightingDefaultSearch(EnumSet<SearchIndex> indexes, SearchQuery query, SearchSort sort, int startOffset, int limit) -
Uses of SearchQuery in com.atlassian.confluence.search.v2.query
Classes in com.atlassian.confluence.search.v2.query that implement SearchQuery Modifier and Type Class Description classAbstractParameterListQuery<T>Abstract superclass for queries holding a list of parameters of a single type.classAbstractUserQueryclassActiveUserQueryQuery which filters out documents representing users that are no longer active.classAllQueryRepresent an entire set of documents.classArchivedSpacesQueryFilters archived spaces (and their contents) out of search results.classAttachmentTypeQuerySearch for attachments of a particular type or types.classBooleanQueryA boolean query that allows and/or and not combinations of sub queries.classBrowseUsersPermissionQueryclassConstantScoreQueryv2 primitive queryclassContainingContentTypeQuerySearch for an entity contained within content of a particular type.classContentCategoryQuerySearchQuery that finds content where content type is from the list of specified categoriesclassContentPermissionsQueryclassContentStatusQuerySearchQuery which matches content by their content status.classContentTypeQuerySearch for content of a particular type.classContributorQueryCreates a query to find content a user has contributed to (any edit or create is considered a contribution)classCreatorQueryQuery for the original creator of content.classCustomContentTypeQueryThis V2 query is used for filtering custom contents based on their types.classDateRangeQueryQuery for search results that have been modified within the specified range of dates.classDoubleRangeQueryv2 primitive queryclassEnabledCustomContentTypesQueryA V2SearchQueryimplementation which only finds custom content which have been enabled, or non-custom content.classFieldExistsQueryA V2SearchQueryimplementation which finds documents which contain a specific field.classFileExtensionQuerySearch for content with a particular file extension.classFunctionScoreQueryv2 primitive query that modifies the wrapped query score of a retrieved document by combining it according toFunctionScoreQuery.BoostModewith an value provided byScoreFunction.classHasPersonalSpaceQuerySearch for content belonging to a user who has a personal space.classInheritedLabelQueryQuery for matching a singleLabelthat was inherited from a piece of parent content, for example, searching for comments attached to pages with a certain labelclassInSpaceQuerySearch using a set of space keys for content that occurs within some set of spaces.classIntegerRangeQueryv2 primitive queryclassLabelQueryQuery for matching a singleLabel.classLabelsQueryAllows querying by multiple labels.classLastModifierUserQuerySearchQuery to find the content where theSearchFieldNames.LAST_MODIFIERfield has to match one of the users in the provided last modifiers listclassLongRangeQueryv2 primitive queryclassMacroStorageVersionQueryclassMacroUsageQueryA search query that finds usages of a macro in a content entity object by the macro name.classMatchNoDocsQueryclassMultiTextFieldQueryRepresents a query against multiple fields.classNonViewableCustomContentTypeQueryA V2SearchQueryimplementation which only finds viewable custom content types or non-custom content.classNotAnonymousUserQuerySearchQuery that filters out anonymous users.classPhraseQueryA query which matches by phrases.classPrefixQueryv2 primitive queryclassQueryStringQueryv2 primitive queryclassSiteTextSearchQueryRelocation from confluence-search plugin.classSpaceCategoryQuerySearch for content within spaces of a particular category (or categories).classSpanNearQueryv2 primitive queryclassTermQueryv2 primitive queryclassTermRangeQueryv2 primitive queryclassTermSetQueryThis query represents the underlying TermsQuery (built into Confluence at the moment), which doesn't calculate score and acts merely as a filter.classTextFieldQueryRepresents a raw query from the user that may be parsed.classTextQueryA multi text field query that searches across a range of text fields for the query stringclassTextSearchQueryThis query represents a text search on a Lucene field.classUserInfoQuerySearchQuery for user info.classUserTextQuerySearches for text within common user-related text fields: full name, email address and usernameclassWildcardTextFieldQueryMethods in com.atlassian.confluence.search.v2.query that return SearchQuery Modifier and Type Method Description static SearchQueryBooleanQuery. andQuery(SearchQuery... queries)Build an AND query from one or more subqueries.SearchQueryBooleanQuery.Builder. build()static SearchQueryBooleanQuery. composeAndQuery(Set<? extends SearchQuery> subqueries)Return a query that "ANDs" together a list of queries.static SearchQueryBooleanQuery. composeOrQuery(Set<? extends SearchQuery> subqueries)Return a query that "ORs" together a list of queries.SearchQueryActiveUserQuery. expand()SearchQueryArchivedSpacesQuery. expand()SearchQueryAttachmentTypeQuery. expand()SearchQueryBooleanQuery. expand()SearchQueryBrowseUsersPermissionQuery. expand()SearchQueryConstantScoreQuery. expand()This primitive but is similar toBooleanQuery, which in some sense primitive but also need to implement expand method, because the wrapped query need to be expanded.SearchQueryContainingContentTypeQuery. expand()SearchQueryContentCategoryQuery. expand()SearchQueryContentStatusQuery. expand()SearchQueryContentTypeQuery. expand()SearchQueryContributorQuery. expand()SearchQueryCustomContentTypeQuery. expand()SearchQueryDateRangeQuery. expand()SearchQueryEnabledCustomContentTypesQuery. expand()SearchQueryFileExtensionQuery. expand()SearchQueryFunctionScoreQuery. expand()This primitive but is similar toBooleanQuery, which in some sense primitive but also need to implement expand method, because the wrapped query need to be expanded.SearchQueryHasPersonalSpaceQuery. expand()SearchQueryInheritedLabelQuery. expand()SearchQueryInSpaceQuery. expand()SearchQueryLabelQuery. expand()SearchQueryLabelsQuery. expand()SearchQueryLastModifierUserQuery. expand()SearchQueryMacroUsageQuery. expand()SearchQueryMultiTextFieldQuery. expand()SearchQueryNonViewableCustomContentTypeQuery. expand()Expands into aSearchQuerywhich will not find custom content which is not viewable.SearchQueryNotAnonymousUserQuery. expand()SearchQuerySpaceCategoryQuery. expand()SearchQueryWildcardTextFieldQuery. expand()static SearchQueryContentStatusQuery. getDefaultContentStatusQuery()The default SearchQuery will only match content which has the current status.SearchQueryConstantScoreQuery. getWrappedQuery()SearchQueryFunctionScoreQuery. getWrappedQuery()static SearchQueryBooleanQuery. orQuery(SearchQuery... queries)Create a query that is the OR of the provided sub-queriesstatic SearchQueryContainingContentTypeQuery. searchForTypesWithinContainerType(ContentTypeEnum containerType, Set<ContentTypeEnum> contentTypes)Helper method for the common "Find me all attachments attached to pages" query - which would be ContainingContentTypeQuery.searchForTypesWithinContainerType(ContentTypeEnum.ATTACHMENT, ContentTypeEnum.PAGE)Methods in com.atlassian.confluence.search.v2.query that return types with arguments of type SearchQuery Modifier and Type Method Description BooleanQueryBuilder<SearchQuery>BooleanQuery.Builder. addFilter(SearchQuery filter)BooleanQueryBuilder<SearchQuery>BooleanQuery.Builder. addFilters(Set<SearchQuery> filters)static BiFunction<String,String,SearchQuery>TermQuery. builder()static BiFunction<String,Set<String>,SearchQuery>TermSetQuery. builder()Set<SearchQuery>BooleanQuery. getFilters()Set<SearchQuery>BooleanQuery. getMustNotQueries()Set<SearchQuery>BooleanQuery. getMustQueries()Set<SearchQuery>BooleanQuery. getShouldQueries()Stream<SubClause<SearchQuery>>BooleanQuery. getSubClauses()Stream<SubClause<SearchQuery>>ConstantScoreQuery. getSubClauses()Stream<SubClause<SearchQuery>>FunctionScoreQuery. getSubClauses()Methods in com.atlassian.confluence.search.v2.query with parameters of type SearchQuery Modifier and Type Method Description BooleanQueryBuilder<SearchQuery>BooleanQuery.Builder. addFilter(SearchQuery filter)static SearchQueryBooleanQuery. andQuery(SearchQuery... queries)Build an AND query from one or more subqueries.static SearchQueryBooleanQuery. orQuery(SearchQuery... queries)Create a query that is the OR of the provided sub-queriesMethod parameters in com.atlassian.confluence.search.v2.query with type arguments of type SearchQuery Modifier and Type Method Description BooleanQueryBuilder<SearchQuery>BooleanQuery.Builder. addFilters(Set<SearchQuery> filters)static SearchQueryBooleanQuery. composeAndQuery(Set<? extends SearchQuery> subqueries)Return a query that "ANDs" together a list of queries.static SearchQueryBooleanQuery. composeOrQuery(Set<? extends SearchQuery> subqueries)Return a query that "ORs" together a list of queries.Constructors in com.atlassian.confluence.search.v2.query with parameters of type SearchQuery Constructor Description ConstantScoreQuery(SearchQuery wrappedQuery)ConstantScoreQuery(SearchQuery query, float boost)FunctionScoreQuery(SearchQuery wrappedQuery, ScoreFunction function, FunctionScoreQuery.BoostMode boostMode)Constructor parameters in com.atlassian.confluence.search.v2.query with type arguments of type SearchQuery Constructor Description BooleanQuery(Collection<? extends SearchQuery> must, Collection<? extends SearchQuery> should, Collection<? extends SearchQuery> mustNot)Construct a new BooleanQuery encapsulating the supplied sub queries with a default boost value.BooleanQuery(Collection<? extends SearchQuery> must, Collection<? extends SearchQuery> should, Collection<? extends SearchQuery> mustNot, float boost)Construct a new BooleanQuery encapsulating the supplied sub queries without any filters.BooleanQuery(Collection<? extends SearchQuery> must, Collection<? extends SearchQuery> should, Collection<? extends SearchQuery> mustNot, Collection<? extends SearchQuery> filters)Construct a new BooleanQuery encapsulating the supplied sub queries with the default boost.BooleanQuery(Collection<? extends SearchQuery> must, Collection<? extends SearchQuery> should, Collection<? extends SearchQuery> mustNot, Collection<? extends SearchQuery> filters, float boost)Construct a new BooleanQuery encapsulating the supplied sub queries.BooleanQuery(Set<? extends SearchQuery> must, Set<? extends SearchQuery> should, Set<? extends SearchQuery> mustNot)Deprecated.since 5.9 useBooleanQuery(Collection, Collection, Collection)
-