Class TextSearchQuery
- java.lang.Object
-
- com.atlassian.confluence.search.v2.query.TextSearchQuery
-
- All Implemented Interfaces:
Expandable<SearchQuery>
,SearchQuery
@SearchPrimitive public class TextSearchQuery extends Object implements 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
-
-
Constructor Summary
Constructors Constructor Description TextSearchQuery(String fieldName, String query, BooleanOperator operator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFieldName()
String
getKey()
BooleanOperator
getOperator()
List
getParameters()
List of parameters asString
s orSearchQuery
s.String
getRawQuery()
String
getUnescapedQuery()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.confluence.search.v2.SearchQuery
expand, getBoost, getSubClauses
-
-
-
-
Field Detail
-
KEY
public static final String KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TextSearchQuery
public TextSearchQuery(String fieldName, String query, BooleanOperator operator)
-
-
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.
-
getFieldName
public String getFieldName()
-
getRawQuery
public String getRawQuery()
-
getUnescapedQuery
public String getUnescapedQuery()
-
getOperator
public BooleanOperator getOperator()
-
-