Class SiteTextSearchQuery
- java.lang.Object
-
- com.atlassian.confluence.search.v2.query.SiteTextSearchQuery
-
- All Implemented Interfaces:
Expandable<SearchQuery>
,SearchQuery
public class SiteTextSearchQuery extends Object implements SearchQuery
Relocation from confluence-search plugin.- Since:
- 6.16.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SiteTextSearchQuery.Boost
-
Constructor Summary
Constructors Constructor Description SiteTextSearchQuery(String text)
SiteTextSearchQuery(String text, SiteTextSearchQuery.Boost shouldBoost)
Deprecated.since 2.3.11 usenew BoostingQuery(new SiteSearchQuery())
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getKey()
List
getParameters()
List of parameters asString
s orSearchQuery
s.String
getTextQuery()
int
hashCode()
static boolean
isExactSearchSyntax(String queryString)
static boolean
isQueryStringSyntax(String queryString)
SiteTextSearchQuery.Boost
shouldBoost()
String
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 Detail
-
KEY
public static final String 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:
- Constant Field Values
-
-
Constructor Detail
-
SiteTextSearchQuery
@Deprecated public SiteTextSearchQuery(String text, SiteTextSearchQuery.Boost shouldBoost)
Deprecated.since 2.3.11 usenew BoostingQuery(new SiteSearchQuery())
-
SiteTextSearchQuery
public SiteTextSearchQuery(String text)
-
-
Method Detail
-
getKey
public String getKey()
- Specified by:
getKey
in interfaceSearchQuery
- Returns:
- the plugin key
-
getParameters
public List getParameters()
Description copied from interface:SearchQuery
List of parameters asString
s orSearchQuery
s.- Specified by:
getParameters
in interfaceSearchQuery
- Returns:
String
s orSearchQuery
s.
-
getTextQuery
public String getTextQuery()
-
shouldBoost
public SiteTextSearchQuery.Boost shouldBoost()
-
isQueryStringSyntax
public static boolean isQueryStringSyntax(String queryString)
-
isExactSearchSyntax
public static boolean isExactSearchSyntax(String queryString)
-
-