@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
Strings or SearchQuerys. |
String |
getQuery() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexpand, getBoostpublic 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 SearchQuerypublic List<?> getParameters()
SearchQueryStrings or SearchQuerys.getParameters in interface SearchQueryStrings or SearchQuerys.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.