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 SearchQuery
SearchPerformedEvent. 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 SearchQuery
SearchQueryModuleDescriptor. 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 ReIndexTask
CompositeIndexManager. 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 class
SiteSearchPermissionsQuery
This is used in conjunction with theSiteSearchPermissionsQueryMapper
, which map it to aFilteredQuery
class
SpacePermissionQuery
Deprecated.since 8.0, useSpacePermissionQueryFactory.create(ConfluenceUser)
Methods in com.atlassian.confluence.impl.search.v2 that return SearchQuery Modifier and Type Method Description SearchQuery
DefaultSiteSearchPermissionsQueryFactory. create()
SearchQuery
DefaultSpacePermissionQueryFactory. create(ConfluenceUser user)
SearchQuery
SiteSearchPermissionsFilteredQueryFactory. create()
SearchQuery
SpacePermissionFilteredQueryFactory. create(ConfluenceUser user)
Deprecated.SearchQuery
DefaultQueryFactory. newQuery(String queryKey)
SearchQuery
DefaultQueryFactory. 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 class
AbstractTextFieldQueryMapper<T extends SearchQuery>
class
BaseConstantScoreQueryMapper<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.Query
MatchNoDocsQueryMapper. 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 SearchQuery
ReIndexSpec. getDeleteQuery()
Constructors in com.atlassian.confluence.index with parameters of type SearchQuery Constructor Description ReIndexSpec(SearchQuery deleteQuery, int concurrencyLevel, List<HibernateHandle> handles, String name)
ReIndexSpec(SearchQuery deleteQuery, int concurrencyLevel, List<HibernateHandle> handles, String name, boolean shouldOptimize)
-
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 void
ReIndexer. reIndex(EnumSet<ReIndexOption> options, @NonNull SearchQuery searchQuery, Progress progress)
Triggers a system wide 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 ReIndexTask
FullReindexManager. reIndex(EnumSet<ReIndexOption> options, SearchQuery searchQuery)
Triggers a system-wide re-index where entities are loaded using providedsearchQuery
.ReIndexTask
LuceneFullReindexManager. reIndex(EnumSet<ReIndexOption> options, SearchQuery searchQuery)
void
LuceneReIndexer. reIndex(EnumSet<ReIndexOption> maybeOptions, @NonNull SearchQuery searchQuery, Progress progress)
long
LuceneSearchIndexAccessor. scan(SearchQuery searchQuery, Set<String> requestedFields, Consumer<ScannedDocument> consumer, float defaultSCore)
long
LuceneSearchIndexAccessor. 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 long
DecoratedSearchManager. 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 long
ProfiledSearchManager. 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 interface
LuceneQueryMapper<T extends SearchQuery>
A lucene query mapper represents an object that is able to map from a ConfluenceSearchQuery
to 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.Query
DelegatingLuceneSearchMapper. convertToLuceneQuery(SearchQuery searchQuery)
long
LuceneSearchManager. 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 SearchQuery
SearchQueryUtils. appendIfQueryNotPresent(@Nullable SearchQuery searchQuery, SearchQuery searchQueryToCheck, SearchQuery searchQueryToAppend)
Append a search query as a top level AND query, if thesearchQueryToCheck
does 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 SearchQuery
SearchQueryUtils. appendIfQueryNotPresent(@Nullable SearchQuery searchQuery, SearchQuery searchQueryToCheck, SearchQuery searchQueryToAppend)
Append a search query as a top level AND query, if thesearchQueryToCheck
does 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 SearchQuery
SearchQueryInterpreter. createSearchQuery(String value)
Methods in com.atlassian.confluence.macro.query with parameters of type SearchQuery Modifier and Type Method Description void
BooleanQueryFactory. addMust(SearchQuery query)
Adds the specifiedSearchQuery
to the "must match" criteria.void
BooleanQueryFactory. addMustNot(SearchQuery query)
Adds the specifiedSearchQuery
to the "must not match" criteria.void
BooleanQueryFactory. addShould(SearchQuery query)
Adds the specifiedSearchQuery
to the "should match" criteria.Method parameters in com.atlassian.confluence.macro.query with type arguments of type SearchQuery Modifier and Type Method Description void
BooleanQueryFactory. addMust(Collection<? extends SearchQuery> queries)
Adds the specifiedCollection<SearchQuery>
to the "must match" criteria.void
BooleanQueryFactory. addMustNot(Collection<? extends SearchQuery> queries)
Adds the specifiedCollection<SearchQuery>
to the "must not match" criteria.void
BooleanQueryFactory. 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 aBooleanQueryFactory
with the specifiedSearchQueries
as 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 SearchQuery
NumericContentPropertyAliasFieldHandler. 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 SearchQuery
ContentPropertySearchQueryFactory. buildNumberRangeQuery(ContentPropertySchemaField schemaField, Range<Double> range)
SearchQuery
ContentPropertySearchQueryFactory. buildStringEqualityQuery(ContentPropertySchemaField schemaField, String... value)
Build a generic string equality query.SearchQuery
ContentPropertySearchQueryFactory. 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 SearchQuery
FeedCustomContentType. toSearchQuery()
-
Uses of SearchQuery in com.atlassian.confluence.search
Methods in com.atlassian.confluence.search that return SearchQuery Modifier and Type Method Description abstract SearchQuery
ReIndexOption. getDeleteQuery()
abstract SearchQuery
ReIndexOption. getDeleteQuery(Optional<String> spaceKey)
Methods in com.atlassian.confluence.search with parameters of type SearchQuery Modifier and Type Method Description ReIndexTask
IndexManager. 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)
ReIndexTask(ReIndexer reIndexer, SearchableDao searchableDao, List<String> spaceKeys, 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 SearchQuery
ContentNameSearchSectionSpec. 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 SearchQuery
ContentTypeSearchDescriptor. 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 SearchQuery
SearchQueryParameters. getSearchQueryFilter()
Methods in com.atlassian.confluence.search.service with parameters of type SearchQuery Modifier and Type Method Description void
SearchQueryParameters. 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 SearchQuery
AbstractSearch. query
Methods in com.atlassian.confluence.search.v2 that return SearchQuery Modifier and Type Method Description SearchQuery
SiteSearchPermissionsQueryFactory. create()
SearchQuery
SpacePermissionQueryFactory. create(ConfluenceUser user)
default SearchQuery
SearchQuery. expand()
Expands this query into a composite query (that composes other queries).@NonNull SearchQuery
AbstractSearch. getQuery()
Gets the query component of the searchSearchQuery
DefaultHighlightParams. getQuery()
@NonNull SearchQuery
DefaultSearchWithToken. getQuery()
default SearchQuery
HightlightParams. getQuery()
@NonNull SearchQuery
ISearch. getQuery()
SearchQuery
QueryFactory. newQuery(String queryKey)
Generate a SearchQuery without parametersSearchQuery
QueryFactory. newQuery(String queryKey, List parameters)
Generate a SearchQuery with parameters.SearchQuery
QuerySerializer. 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 void
SearchIndexWriter. delete(SearchQuery searchQuery)
static String
QuerySerializer. queryToString(SearchQuery query)
Convert a SearchQuery into a string form that can be transported over the wire, saved, and so onlong
DelegatingSearchIndexAccessor. scan(SearchQuery searchQuery, Set<String> requestedFields, Consumer<ScannedDocument> consumer, float defaultScore)
long
DelegatingSearchIndexAccessor. scan(SearchQuery searchQuery, Set<String> requestedFields, Consumer<Map<String,String[]>> consumer)
long
SearchIndexAccessor. scan(SearchQuery searchQuery, Set<String> requestedFields, Consumer<ScannedDocument> consumer, float defaultScore)
Scans the index for documents that match the provided searchQuery.long
SearchIndexAccessor. scan(SearchQuery searchQuery, Set<String> requestedFields, Consumer<Map<String,String[]>> consumer)
Scans the index for documents that match the provided searchQuery.long
SearchManager. 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 class
AbstractParameterListQuery<T>
Abstract superclass for queries holding a list of parameters of a single type.class
AbstractUserQuery
class
ActiveUserQuery
Query which filters out documents representing users that are no longer active.class
AllQuery
Represent an entire set of documents.class
ArchivedSpacesQuery
Filters archived spaces (and their contents) out of search results.class
AttachmentTypeQuery
Search for attachments of a particular type or types.class
BooleanQuery
A boolean query that allows and/or and not combinations of sub queries.class
BrowseUsersPermissionQuery
class
ConstantScoreQuery
v2 primitive queryclass
ContainingContentTypeQuery
Search for an entity contained within content of a particular type.class
ContentCategoryQuery
SearchQuery that finds content where content type is from the list of specified categoriesclass
ContentPermissionsQuery
class
ContentStatusQuery
SearchQuery which matches content by their content status.class
ContentTypeQuery
Search for content of a particular type.class
ContributorQuery
Creates a query to find content a user has contributed to (any edit or create is considered a contribution)class
CreatorQuery
Query for the original creator of content.class
CustomContentTypeQuery
This V2 query is used for filtering custom contents based on their types.class
DateRangeQuery
Query for search results that have been modified within the specified range of dates.class
DoubleRangeQuery
v2 primitive queryclass
EnabledCustomContentTypesQuery
A V2SearchQuery
implementation which only finds custom content which have been enabled, or non-custom content.class
FieldExistsQuery
A V2SearchQuery
implementation which finds documents which contain a specific field.class
FileExtensionQuery
Search for content with a particular file extension.class
FunctionScoreQuery
v2 primitive query that modifies the wrapped query score of a retrieved document by combining it according toFunctionScoreQuery.BoostMode
with an value provided byScoreFunction
.class
HasPersonalSpaceQuery
Search for content belonging to a user who has a personal space.class
InheritedLabelQuery
Query for matching a singleLabel
that was inherited from a piece of parent content, for example, searching for comments attached to pages with a certain labelclass
InSpaceQuery
Search using a set of space keys for content that occurs within some set of spaces.class
IntegerRangeQuery
v2 primitive queryclass
LabelQuery
Query for matching a singleLabel
.class
LabelsQuery
Allows querying by multiple labels.class
LastModifierUserQuery
SearchQuery to find the content where theSearchFieldNames.LAST_MODIFIER
field has to match one of the users in the provided last modifiers listclass
LongRangeQuery
v2 primitive queryclass
MacroStorageVersionQuery
class
MacroUsageQuery
A search query that finds usages of a macro in a content entity object by the macro name.class
MatchNoDocsQuery
class
MultiTextFieldQuery
Represents a query against multiple fields.class
NonViewableCustomContentTypeQuery
A V2SearchQuery
implementation which only finds viewable custom content types or non-custom content.class
NotAnonymousUserQuery
SearchQuery that filters out anonymous users.class
PhraseQuery
A query which matches by phrases.class
PrefixQuery
v2 primitive queryclass
QueryStringQuery
v2 primitive queryclass
SiteTextSearchQuery
Relocation from confluence-search plugin.class
SpaceCategoryQuery
Search for content within spaces of a particular category (or categories).class
SpanNearQuery
v2 primitive queryclass
TermQuery
v2 primitive queryclass
TermRangeQuery
v2 primitive queryclass
TermSetQuery
This query represents the underlying TermsQuery (built into Confluence at the moment), which doesn't calculate score and acts merely as a filter.class
TextFieldQuery
Represents a raw query from the user that may be parsed.class
TextQuery
A multi text field query that searches across a range of text fields for the query stringclass
TextSearchQuery
This query represents a text search on a Lucene field.class
UserInfoQuery
SearchQuery for user info.class
UserTextQuery
Searches for text within common user-related text fields: full name, email address and usernameclass
WildcardTextFieldQuery
Methods in com.atlassian.confluence.search.v2.query that return SearchQuery Modifier and Type Method Description static SearchQuery
BooleanQuery. andQuery(SearchQuery... queries)
Build an AND query from one or more subqueries.SearchQuery
BooleanQuery.Builder. build()
static SearchQuery
BooleanQuery. composeAndQuery(Set<? extends SearchQuery> subqueries)
Return a query that "ANDs" together a list of queries.static SearchQuery
BooleanQuery. composeOrQuery(Set<? extends SearchQuery> subqueries)
Return a query that "ORs" together a list of queries.SearchQuery
ActiveUserQuery. expand()
SearchQuery
ArchivedSpacesQuery. expand()
SearchQuery
AttachmentTypeQuery. expand()
SearchQuery
BooleanQuery. expand()
SearchQuery
BrowseUsersPermissionQuery. expand()
SearchQuery
ConstantScoreQuery. 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.SearchQuery
ContainingContentTypeQuery. expand()
SearchQuery
ContentCategoryQuery. expand()
SearchQuery
ContentStatusQuery. expand()
SearchQuery
ContentTypeQuery. expand()
SearchQuery
ContributorQuery. expand()
SearchQuery
CustomContentTypeQuery. expand()
SearchQuery
DateRangeQuery. expand()
SearchQuery
EnabledCustomContentTypesQuery. expand()
SearchQuery
FileExtensionQuery. expand()
SearchQuery
FunctionScoreQuery. 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.SearchQuery
HasPersonalSpaceQuery. expand()
SearchQuery
InheritedLabelQuery. expand()
SearchQuery
InSpaceQuery. expand()
SearchQuery
LabelQuery. expand()
SearchQuery
LabelsQuery. expand()
SearchQuery
LastModifierUserQuery. expand()
SearchQuery
MacroUsageQuery. expand()
SearchQuery
MultiTextFieldQuery. expand()
SearchQuery
NonViewableCustomContentTypeQuery. expand()
Expands into aSearchQuery
which will not find custom content which is not viewable.SearchQuery
NotAnonymousUserQuery. expand()
SearchQuery
SpaceCategoryQuery. expand()
SearchQuery
WildcardTextFieldQuery. expand()
static SearchQuery
ContentStatusQuery. getDefaultContentStatusQuery()
The default SearchQuery will only match content which has the current status.SearchQuery
ConstantScoreQuery. getWrappedQuery()
SearchQuery
FunctionScoreQuery. getWrappedQuery()
static SearchQuery
BooleanQuery. orQuery(SearchQuery... queries)
Create a query that is the OR of the provided sub-queriesstatic SearchQuery
ContainingContentTypeQuery. 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 SearchQuery
BooleanQuery. andQuery(SearchQuery... queries)
Build an AND query from one or more subqueries.static SearchQuery
BooleanQuery. 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 SearchQuery
BooleanQuery. composeAndQuery(Set<? extends SearchQuery> subqueries)
Return a query that "ANDs" together a list of queries.static SearchQuery
BooleanQuery. 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.
-