Modifier and Type | Method and Description |
---|---|
SearchQuery |
SearchPerformedEvent.getSearchQuery() |
Constructor and Description |
---|
SearchPerformedEvent(Object source,
SearchQuery search,
com.atlassian.user.User user,
int numberOfResults) |
Modifier and Type | Method and Description |
---|---|
void |
ReIndexer.reIndex(EnumSet<ReIndexOption> options,
SearchQuery searchQuery,
Progress progress)
Triggers a system wide re-index re-index all entities loaded from searchQuery.
|
default void |
ReIndexer.reIndex(Set<ReIndexOption> options,
SearchQuery searchQuery,
Progress progress)
Deprecated.
since 5.10. Use
ReIndexer.reIndex(Set, SearchQuery, Progress) instead. |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractReIndexer.doReIndex(SearchQuery deleteQuery,
List<HibernateHandle> handles,
Progress progress,
Integer threadCount) |
protected abstract List<HibernateHandle> |
AbstractReIndexer.getHandlesByQuery(SearchQuery query) |
void |
AbstractReIndexer.reIndex(EnumSet<ReIndexOption> options,
SearchQuery searchQuery,
Progress progress) |
Modifier and Type | Method and Description |
---|---|
protected void |
ESReIndexer.doReIndex(SearchQuery deleteQuery,
List<HibernateHandle> handles,
Progress progress,
Integer threadCount) |
protected List<HibernateHandle> |
ESReIndexer.getHandlesByQuery(SearchQuery searchQuery) |
Modifier and Type | Method and Description |
---|---|
protected void |
LuceneReIndexer.doReIndex(SearchQuery deleteQuery,
List<HibernateHandle> handles,
Progress progress,
Integer threadCount) |
protected List<HibernateHandle> |
LuceneReIndexer.getHandlesByQuery(SearchQuery query) |
Modifier and Type | Method and Description |
---|---|
SearchQuery |
SearchQueryInterpreter.createSearchQuery(String value) |
Modifier and Type | Method and Description |
---|---|
void |
BooleanQueryFactory.addMust(SearchQuery query)
Adds the specified
SearchQuery to the "must match" criteria. |
void |
BooleanQueryFactory.addMustNot(SearchQuery query)
Adds the specified
SearchQuery to the "must not match" criteria. |
void |
BooleanQueryFactory.addShould(SearchQuery query)
Adds the specified
SearchQuery to the "should match" criteria. |
Modifier and Type | Method and Description |
---|---|
void |
BooleanQueryFactory.addMust(Collection<? extends SearchQuery> queries)
Adds the specified
Collection<SearchQuery> to the "must match"
criteria. |
void |
BooleanQueryFactory.addMustNot(Collection<? extends SearchQuery> queries)
Adds the specified
Collection<SearchQuery> to the "must not
match" criteria. |
void |
BooleanQueryFactory.addShould(Collection<? extends SearchQuery> queries)
Adds the specified
Collection<SearchQuery> to the "should match"
criteria. |
Constructor and Description |
---|
BooleanQueryFactory(Set<SearchQuery> must,
Set<SearchQuery> should,
Set<SearchQuery> mustNot)
Constructs a
BooleanQueryFactory with the specified
SearchQueries as initial values. |
BooleanQueryFactory(Set<SearchQuery> must,
Set<SearchQuery> should,
Set<SearchQuery> mustNot)
Constructs a
BooleanQueryFactory with the specified
SearchQueries as initial values. |
BooleanQueryFactory(Set<SearchQuery> must,
Set<SearchQuery> should,
Set<SearchQuery> mustNot)
Constructs a
BooleanQueryFactory with the specified
SearchQueries as initial values. |
Modifier and Type | Method and Description |
---|---|
SearchQuery |
SearchQueryModuleDescriptor.newQuery(List parameters) |
Modifier and Type | Method and Description |
---|---|
protected SearchQuery |
NumericContentPropertyAliasFieldHandler.createQuery(Double from,
Double to,
boolean includesFrom,
boolean includesTo) |
Modifier and Type | Class and Description |
---|---|
class |
MultiTermQuery
Represents a set of terms used to construct a boolean Lucene query.
|
class |
NumberRangeQuery
Deprecated.
since 5.10, use
DoubleRangeQuery instead |
Modifier and Type | Method and Description |
---|---|
SearchQuery |
ContentPropertySearchQueryFactory.buildNumberRangeQuery(ContentPropertySchemaField schemaField,
com.atlassian.querylang.antlrgen.AqlParser.EqOpContext opCtx,
Double value) |
SearchQuery |
ContentPropertySearchQueryFactory.buildNumberRangeQuery(ContentPropertySchemaField schemaField,
com.atlassian.querylang.antlrgen.AqlParser.RangeOpContext opCtx,
Double value) |
<N extends Number> |
ContentPropertySearchQueryFactory.buildNumberRangeQuery(ContentPropertySchemaField schemaField,
N from,
N to,
boolean includesFrom,
boolean includesTo)
Build a generic range query for any number type between 'from' and 'to'.
|
SearchQuery |
ContentPropertySearchQueryFactory.buildStringEqualityQuery(ContentPropertySchemaField schemaField,
String... value)
Build a generic string equality query.
|
SearchQuery |
ContentPropertySearchQueryFactory.buildTextSearchQuery(ContentPropertySchemaField schemaField,
String value)
Build a generic text comparison query.
|
SearchQuery |
TextQuery.expand() |
SearchQuery |
NumberRangeQuery.expand()
Deprecated.
|
SearchQuery |
MultiTermQuery.expand() |
SearchQuery |
DateRangeQuery.expand() |
Modifier and Type | Method and Description |
---|---|
SearchQuery |
FeedCustomContentType.toSearchQuery() |
Modifier and Type | Method and Description |
---|---|
abstract SearchQuery |
ReIndexOption.getDeleteQuery() |
Modifier and Type | Method and Description |
---|---|
ReIndexTask |
IndexManager.reIndex(EnumSet<ReIndexOption> options,
SearchQuery searchQuery)
Triggers a system wide re-index.
|
ReIndexTask |
DelegatingIndexManager.reIndex(EnumSet<ReIndexOption> options,
SearchQuery searchQuery) |
Constructor and Description |
---|
ReIndexTask(ReIndexer reIndexer,
SearchableDao searchableDao,
Set<ReIndexOption> options,
SearchQuery luceneQuery,
int jobID)
Deprecated.
since 5.10
|
Constructor and Description |
---|
ReIndexTask(ReIndexer reIndexer,
SearchableDao searchableDao,
EnumSet<ReIndexOption> options,
Optional<SearchQuery> searchQuery,
int jobID) |
Modifier and Type | Method and Description |
---|---|
ReIndexTask |
ESIndexManager.reIndex(EnumSet<ReIndexOption> options,
SearchQuery searchQuery) |
Modifier and Type | Method and Description |
---|---|
ReIndexTask |
LuceneIndexManager.reIndex(EnumSet<ReIndexOption> options,
SearchQuery searchQuery)
Trigger an asynchronous reindex of the system.
|
default ReIndexTask |
ConfluenceIndexManager.reIndex(Set<ReIndexOption> options,
SearchQuery searchQuery)
Deprecated.
since 5.10, use
IndexManager.reIndex(EnumSet, SearchQuery) |
Modifier and Type | Method and Description |
---|---|
SearchQuery |
ContentTypeSearchDescriptor.getQuery() |
Modifier and Type | Field and Description |
---|---|
protected SearchQuery |
AbstractSearch.query |
Modifier and Type | Method and Description |
---|---|
default SearchQuery |
SearchQuery.expand()
Expands this query into a composite query (that composes other queries).
|
SearchQuery |
ISearch.getQuery() |
default SearchQuery |
HightlightParams.getQuery() |
SearchQuery |
DefaultSearchWithToken.getQuery() |
SearchQuery |
DefaultHighlightParams.getQuery() |
SearchQuery |
AbstractSearch.getQuery()
Gets the query component of the search
|
SearchQuery |
QueryFactory.newQuery(String queryKey)
Generate a SearchQuery without parameters
|
SearchQuery |
DefaultQueryFactory.newQuery(String queryKey) |
SearchQuery |
QueryFactory.newQuery(String queryKey,
List parameters)
Generate a SearchQuery with parameters.
|
SearchQuery |
DefaultQueryFactory.newQuery(String queryKey,
List parameters) |
SearchQuery |
QuerySerializer.stringToQuery(String s)
Convert a string-form query back into object form.
|
Modifier and Type | Method and Description |
---|---|
static String |
QuerySerializer.queryToString(SearchQuery query)
Convert a SearchQuery into a string form that can be transported over the wire, saved, and
so on
|
Constructor and Description |
---|
AbstractSearch(SearchQuery query,
SearchSort sort,
SearchFilter searchFilter,
int startOffset,
int limit) |
AbstractSearch(SearchQuery query,
SearchSort sort,
SearchFilter searchFilter,
int startOffset,
int limit,
ResultFilter resultFilter) |
AbstractSearch(SearchQuery query,
SearchSort sort,
SearchFilter searchFilter,
ResultFilter resultFilter) |
ChangesSearch(SearchQuery query,
SearchSort sort,
SearchFilter searchFilter,
int startOffset,
int limit) |
ChangesSearch(SearchQuery query,
SearchSort sort,
SearchFilter searchFilter,
ResultFilter resultFilter) |
ContentSearch(SearchQuery query,
SearchSort sort,
SearchFilter searchFilter,
int startOffset,
int limit) |
ContentSearch(SearchQuery query,
SearchSort sort,
SearchFilter searchFilter,
ResultFilter resultFilter)
Construct a new Search.
|
DefaultHighlightParams(SearchQuery query)
Constructs a parameter object used for highlighting
|
DefaultHighlightParams(String encoder,
SearchQuery query)
Constructs a parameter object used for highlighting
|
DefaultSearch(SearchQuery query,
SearchSort sort,
SearchFilter searchFilter,
int startOffset,
int limit) |
DefaultSearch(SearchQuery query,
SearchSort sort,
SearchFilter searchFilter,
ResultFilter resultFilter) |
Search(SearchQuery query,
SearchSort sort,
SearchFilter searchFilter,
ResultFilter resultFilter)
Deprecated.
|
Constructor and Description |
---|
ESRequestMapper(ESFilterMapper<SearchFilter> filterMapper,
ESQueryMapper<SearchQuery> queryMapper,
ESSortMapper sortMapper) |
Modifier and Type | Interface and Description |
---|---|
interface |
ESQueryMapper<T extends SearchQuery> |
Modifier and Type | Method and Description |
---|---|
org.elasticsearch.index.query.QueryBuilder |
DelegatingESQueryMapper.map(SearchQuery query) |
Constructor and Description |
---|
BoostingQueryMapper(ESQueryMapper<SearchQuery> delegate) |
ConstantScoreQueryMapper(ESQueryMapper<SearchQuery> delegate) |
Modifier and Type | Interface and Description |
---|---|
interface |
LuceneQueryMapper<T extends SearchQuery>
A lucene query mapper represents an object that is able to map from a Confluence
SearchQuery to a Lucene Query . |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Query |
DelegatingLuceneSearchMapper.convertToLuceneQuery(SearchQuery query) |
Modifier and Type | Class and 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.
|
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Query |
PermittedSpacesQueryMapper.convertToLuceneQuery(SearchQuery searchQuery) |
org.apache.lucene.search.Query |
MatchNoDocsQueryMapper.convertToLuceneQuery(SearchQuery searchQuery) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractParameterListQuery<T>
Abstract superclass for queries holding a list of parameters of a single type.
|
class |
AbstractUserQuery |
class |
AllQuery
Querys for all possible 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 |
BoostingQuery
A wrapping query that boost the scores provided by the
underlying query based on the modification date.
|
class |
ConstantScoreQuery
v2 primitive query
|
class |
ContainingContentTypeQuery
Search for an entity contained within content of a particular type.
|
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 |
class |
DateRangeQuery
Query for search results that have been modified within the specified range of dates.
|
class |
DoubleRangeQuery
v2 primitive query
|
class |
FileExtensionQuery
Search for content with a particular file extension.
|
class |
HasPersonalSpaceQuery
Search for content belonging to a user who has a personal space.
|
class |
InheritedLabelQuery
Query for matching a single
Label that was inherited from a piece of
parent content, for example, searching for comments attached to pages with a certain label |
class |
InSpaceQuery
Search for content that occurs within some set of spaces.
|
class |
LabelQuery
Query for matching a single
Label . |
class |
LongRangeQuery
v2 primitive query
|
class |
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 |
PermittedSpacesQuery
Deprecated.
since 3.0. Please use
SpacePermissionsSearchFilter instead. |
class |
PhraseQuery
v2 primitive query
|
class |
PrefixQuery
v2 primitive query
|
class |
QueryStringQuery
v2 primitive query
|
class |
SpaceCategoryQuery
Search for content within spaces of a particular category (or categories).
|
class |
SpanNearQuery
v2 primitive query
|
class |
TermQuery
v2 primitive query
|
class |
TermRangeQuery
v2 primitive query
|
class |
TextFieldPrefixQuery
Represents a query that specifies a prefix to be matched - equivalent to a trailing wildcard search e.g.
|
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 string
|
class |
UserTextQuery
Searches for text within common user-related text fields: full name, email address and username
|
Modifier and Type | Method and Description |
---|---|
static SearchQuery |
BooleanQuery.andQuery(SearchQuery... queries)
Build an AND query from one or more subqueries.
|
protected SearchQuery |
BooleanQuery.Builder.combine(Collection<SearchQuery> must,
Collection<SearchQuery> should,
Collection<SearchQuery> mustNot) |
protected SearchQuery |
BooleanQuery.Builder.combine(Collection<SearchQuery> must,
Collection<SearchQuery> should,
Collection<SearchQuery> mustNot,
boolean expanded)
Deprecated.
since 5.10
|
static SearchQuery |
BooleanQuery.composeAndQuery(SearchQuery searchQueryOne,
SearchQuery searchQueryTwo)
Deprecated.
since 4.1 use .andQuery() instead.
|
static SearchQuery |
BooleanQuery.composeAndQuery(Set<? extends SearchQuery> subqueries)
Return a query that "ANDs" together a list of queries.
|
static SearchQuery |
BooleanQuery.composeOrQuery(SearchQuery searchQueryOne,
SearchQuery searchQueryTwo)
Deprecated.
since 4.1 use .orQuery() instead
|
static SearchQuery |
BooleanQuery.composeOrQuery(Set<? extends SearchQuery> subqueries)
Return a query that "ORs" together a list of queries.
|
SearchQuery |
SpaceCategoryQuery.expand() |
SearchQuery |
MultiTextFieldQuery.expand() |
SearchQuery |
LabelQuery.expand() |
SearchQuery |
InSpaceQuery.expand() |
SearchQuery |
DateRangeQuery.expand() |
SearchQuery |
CustomContentTypeQuery.expand() |
SearchQuery |
ContributorQuery.expand() |
SearchQuery |
ContentTypeQuery.expand() |
SearchQuery |
ContainingContentTypeQuery.expand() |
SearchQuery |
ConstantScoreQuery.expand()
This primitive but is similar to
BooleanQuery , which in some sense primitive but also need to implement
expand method, because the wrapped query need to be expanded. |
SearchQuery |
BoostingQuery.expand()
This primitive but is similar to
BooleanQuery , which in some sense primitive but also need to implement
expand method, because the wrapped query need to be expanded. |
SearchQuery |
BooleanQuery.expand() |
SearchQuery |
ConstantScoreQuery.getWrappedQuery() |
SearchQuery |
BoostingQuery.getWrappedQuery() |
static SearchQuery |
BooleanQuery.orQuery(SearchQuery... queries)
Create a query that is the OR of the provided sub-queries
|
static 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)
|
Modifier and Type | Method and Description |
---|---|
static BiFunction<String,String,SearchQuery> |
TermQuery.builder() |
Set<SearchQuery> |
BooleanQuery.getMustNotQueries() |
Set<SearchQuery> |
BooleanQuery.getMustQueries() |
Set<SearchQuery> |
BooleanQuery.getShouldQueries() |
Modifier and Type | Method and Description |
---|---|
static SearchQuery |
BooleanQuery.andQuery(SearchQuery... queries)
Build an AND query from one or more subqueries.
|
static SearchQuery |
BooleanQuery.composeAndQuery(SearchQuery searchQueryOne,
SearchQuery searchQueryTwo)
Deprecated.
since 4.1 use .andQuery() instead.
|
static SearchQuery |
BooleanQuery.composeOrQuery(SearchQuery searchQueryOne,
SearchQuery searchQueryTwo)
Deprecated.
since 4.1 use .orQuery() instead
|
static SearchQuery |
BooleanQuery.orQuery(SearchQuery... queries)
Create a query that is the OR of the provided sub-queries
|
Modifier and Type | Method and Description |
---|---|
protected SearchQuery |
BooleanQuery.Builder.combine(Collection<SearchQuery> must,
Collection<SearchQuery> should,
Collection<SearchQuery> mustNot) |
protected SearchQuery |
BooleanQuery.Builder.combine(Collection<SearchQuery> must,
Collection<SearchQuery> should,
Collection<SearchQuery> mustNot) |
protected SearchQuery |
BooleanQuery.Builder.combine(Collection<SearchQuery> must,
Collection<SearchQuery> should,
Collection<SearchQuery> mustNot) |
protected SearchQuery |
BooleanQuery.Builder.combine(Collection<SearchQuery> must,
Collection<SearchQuery> should,
Collection<SearchQuery> mustNot,
boolean expanded)
Deprecated.
since 5.10
|
protected SearchQuery |
BooleanQuery.Builder.combine(Collection<SearchQuery> must,
Collection<SearchQuery> should,
Collection<SearchQuery> mustNot,
boolean expanded)
Deprecated.
since 5.10
|
protected SearchQuery |
BooleanQuery.Builder.combine(Collection<SearchQuery> must,
Collection<SearchQuery> should,
Collection<SearchQuery> mustNot,
boolean expanded)
Deprecated.
since 5.10
|
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.
|
Constructor and Description |
---|
BoostingQuery(SearchQuery wrappedQuery,
SearchQueryParameters searchQueryParameters) |
ConstantScoreQuery(SearchQuery wrappedQuery) |
ConstantScoreQuery(SearchQuery query,
float boost) |
Constructor and Description |
---|
BooleanQuery(Collection<? extends SearchQuery> must,
Collection<? extends SearchQuery> should,
Collection<? extends SearchQuery> mustNot)
Construct a new BooleanQuery encapsulating the supplied sub queries.
|
BooleanQuery(Collection<? extends SearchQuery> must,
Collection<? extends SearchQuery> should,
Collection<? extends SearchQuery> mustNot)
Construct a new BooleanQuery encapsulating the supplied sub queries.
|
BooleanQuery(Collection<? extends SearchQuery> must,
Collection<? extends SearchQuery> should,
Collection<? extends SearchQuery> mustNot)
Construct a new BooleanQuery encapsulating the supplied sub queries.
|
BooleanQuery(Set<? extends SearchQuery> must,
Set<? extends SearchQuery> should,
Set<? extends SearchQuery> mustNot)
Deprecated.
|
BooleanQuery(Set<? extends SearchQuery> must,
Set<? extends SearchQuery> should,
Set<? extends SearchQuery> mustNot)
Deprecated.
|
BooleanQuery(Set<? extends SearchQuery> must,
Set<? extends SearchQuery> should,
Set<? extends SearchQuery> mustNot)
Deprecated.
|
Copyright © 2003–2017 Atlassian. All rights reserved.