Class SiteTextSearchQuery
java.lang.Object
com.atlassian.confluence.search.v2.query.SiteTextSearchQuery
- All Implemented Interfaces:
Expandable<SearchQuery>
,SearchQuery
Relocation from confluence-search plugin.
- Since:
- 6.16.0
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
There is no query mapper registered for this key, which forces the expand() to be called.Fields inherited from interface com.atlassian.confluence.search.v2.SearchQuery
DEFAULT_BOOST
-
Constructor Summary
ConstructorDescriptionSiteTextSearchQuery
(String text) SiteTextSearchQuery
(String text, SiteTextSearchQuery.Boost shouldBoost) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionboolean
getKey()
List of parameters asString
s orSearchQuery
s.int
hashCode()
static boolean
isExactSearchSyntax
(String queryString) static boolean
isQueryStringSyntax
(String queryString) toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.atlassian.confluence.search.v2.SearchQuery
expand, getBoost, getSubClauses
-
Field Details
-
KEY
There is no query mapper registered for this key, which forces the expand() to be called. The expand will return an anonymous inner class that has a different key for which there is a mapper.- See Also:
-
-
Constructor Details
-
SiteTextSearchQuery
Deprecated.since 2.3.11 usenew BoostingQuery(new SiteSearchQuery())
-
SiteTextSearchQuery
-
-
Method Details
-
getKey
- Specified by:
getKey
in interfaceSearchQuery
- Returns:
- the plugin key
-
getParameters
Description copied from interface:SearchQuery
List of parameters asString
s orSearchQuery
s.- Specified by:
getParameters
in interfaceSearchQuery
- Returns:
String
s orSearchQuery
s.
-
getTextQuery
-
shouldBoost
-
isQueryStringSyntax
-
isExactSearchSyntax
-
toString
-
equals
-
hashCode
public int hashCode()
-
new BoostingQuery(new SiteSearchQuery())