Class TextSearchQuery
java.lang.Object
com.atlassian.confluence.search.v2.query.TextSearchQuery
- All Implemented Interfaces:
Expandable<SearchQuery>,SearchQuery
This query represents a text search on a Lucene field. The text search can be a complex expression such as
{code}"Do it right" AND right{code}
- Since:
- 7.20
-
Field Summary
FieldsFields inherited from interface com.atlassian.confluence.search.v2.SearchQuery
DEFAULT_BOOST -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexpand()Expands this query into a composite query (that composes other queries).getKey()List<?> List of parameters asStrings orSearchQuerys.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.confluence.search.v2.SearchQuery
getBoost, getSubClauses
-
Field Details
-
KEY
- See Also:
-
-
Constructor Details
-
TextSearchQuery
-
-
Method Details
-
getKey
- Specified by:
getKeyin interfaceSearchQuery- Returns:
- the plugin key
-
getParameters
Description copied from interface:SearchQueryList of parameters asStrings orSearchQuerys.- Specified by:
getParametersin interfaceSearchQuery- Returns:
Strings orSearchQuerys.
-
expand
Description copied from interface:SearchQueryExpands 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.- Specified by:
expandin interfaceExpandable<SearchQuery>- Specified by:
expandin interfaceSearchQuery- Returns:
- a query
-
getFieldName
-
getRawQuery
-
getUnescapedQuery
-
getOperator
-