Class InSpaceQuery
java.lang.Object
com.atlassian.confluence.search.v2.query.AbstractParameterListQuery<String>
com.atlassian.confluence.search.v2.query.InSpaceQuery
- All Implemented Interfaces:
Expandable<SearchQuery>
,SearchQuery
Search using a set of space keys for content that occurs within some set of spaces.
This query will not contribute to relevancy of search results.
-
Field Summary
Fields inherited from class com.atlassian.confluence.search.v2.query.AbstractParameterListQuery
parameters
Fields inherited from interface com.atlassian.confluence.search.v2.SearchQuery
DEFAULT_BOOST
-
Constructor Summary
ConstructorsConstructorDescriptionInSpaceQuery
(String spaceKey) Search for content within a single space with the given keyInSpaceQuery
(Set<String> spaceKeys) Search for content within any of a collection of spaces with given keys -
Method Summary
Methods inherited from class com.atlassian.confluence.search.v2.query.AbstractParameterListQuery
equals, getParameters, hashCode
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.confluence.search.v2.SearchQuery
getBoost, getSubClauses
-
Constructor Details
-
InSpaceQuery
Search for content within a single space with the given key- Parameters:
spaceKey
- the key of the space to search within
-
InSpaceQuery
Search for content within any of a collection of spaces with given keys- Parameters:
spaceKeys
- a set of the keys of the spaces to search within
-
-
Method Details
-
getKey
- Returns:
- the plugin key
-
expand
Description copied from interface:SearchQuery
Expands this query into a composite query (that composes other queries). By overriding this method, one can specify a new query that is composition of the behaviour of the composed queries.- Returns:
- a query
-