Class QueryStringQuery
java.lang.Object
com.atlassian.confluence.search.v2.query.QueryStringQuery
- All Implemented Interfaces:
Expandable<SearchQuery>
,SearchQuery
v2 primitive query
- Since:
- 5.10
-
Field Summary
Fields inherited from interface com.atlassian.confluence.search.v2.SearchQuery
DEFAULT_BOOST
-
Constructor Summary
ConstructorDescriptionQueryStringQuery
(Collection<String> fieldNames, String query, BooleanOperator operator) QueryStringQuery
(Collection<String> fieldNames, String query, BooleanOperator operator, Map<String, Float> fieldsBoost) QueryStringQuery
(Collection<String> fieldNames, Map<String, ? extends AnalyzerDescriptorProvider> analyzerProviders, BooleanOperator operator, String query) Construct a query with a custom analyzer.QueryStringQuery
(Collection<String> fieldNames, Map<String, ? extends AnalyzerDescriptorProvider> analyzerProviders, BooleanOperator operator, String query, Map<String, Float> fieldsBoost) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Map<String,
? extends AnalyzerDescriptorProvider> Returns information required to construct analyzer for a field if it is available.getKey()
List<?>
List of parameters asString
s orSearchQuery
s.getQuery()
int
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
expand, getBoost, getSubClauses
-
Field Details
-
KEY
- See Also:
-
-
Constructor Details
-
QueryStringQuery
-
QueryStringQuery
public QueryStringQuery(Collection<String> fieldNames, Map<String, ? extends AnalyzerDescriptorProvider> analyzerProviders, BooleanOperator operator, String query) Construct a query with a custom analyzer.- Since:
- 7.0
-
QueryStringQuery
public QueryStringQuery(Collection<String> fieldNames, String query, BooleanOperator operator, Map<String, Float> fieldsBoost) - Since:
- 8.7
-
QueryStringQuery
public QueryStringQuery(Collection<String> fieldNames, Map<String, ? extends AnalyzerDescriptorProvider> analyzerProviders, BooleanOperator operator, String query, Map<String, Float> fieldsBoost) - Since:
- 8.7
-
-
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.
-
getFieldNames
-
getAnalyzerProviders
Returns information required to construct analyzer for a field if it is available.- Since:
- 7.0
-
getQuery
-
getOperator
-
getFieldsBoost
- Returns:
- the boost used for each field.
- Since:
- 8.7
-
equals
-
hashCode
public int hashCode()
-