@SearchPrimitive public class QueryStringQuery extends Object implements SearchQuery
Constructor and Description |
---|
QueryStringQuery(Collection<String> fieldNames,
Map<String,? extends com.atlassian.confluence.plugins.index.api.AnalyzerDescriptorProvider> analyzerProviders,
BooleanOperator operator,
String query)
Construct a query with a custom analyzer.
|
QueryStringQuery(Collection<String> fieldNames,
String query,
BooleanOperator operator) |
Modifier and Type | Method and Description |
---|---|
Map<String,? extends com.atlassian.confluence.plugins.index.api.AnalyzerDescriptorProvider> |
getAnalyzerProviders()
Returns information required to construct analyzer for a field if it is available.
|
Set<String> |
getFieldNames() |
String |
getKey() |
BooleanOperator |
getOperator() |
List<?> |
getParameters()
List of parameters as
String s or SearchQuery s. |
String |
getQuery() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
expand, getBoost
public static final String KEY
public QueryStringQuery(Collection<String> fieldNames, String query, BooleanOperator operator)
public QueryStringQuery(Collection<String> fieldNames, Map<String,? extends com.atlassian.confluence.plugins.index.api.AnalyzerDescriptorProvider> analyzerProviders, BooleanOperator operator, String query)
public String getKey()
getKey
in interface SearchQuery
public List<?> getParameters()
SearchQuery
String
s or SearchQuery
s.getParameters
in interface SearchQuery
String
s or SearchQuery
s.public Map<String,? extends com.atlassian.confluence.plugins.index.api.AnalyzerDescriptorProvider> getAnalyzerProviders()
public String getQuery()
public BooleanOperator getOperator()
Copyright © 2003–2021 Atlassian. All rights reserved.