public abstract class AnalyticsQuery extends ExtendedQueryBase implements PostFilter
| Constructor and Description |
|---|
AnalyticsQuery()
Use this constructor for single node analytics.
|
AnalyticsQuery(MergeStrategy mergeStrategy)
Use this constructor for distributed analytics.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
abstract DelegatingCollector |
getAnalyticsCollector(ResponseBuilder rb,
IndexSearcher searcher) |
boolean |
getCache()
Should this query be cached in the query cache or filter cache.
|
int |
getCost()
Returns the cost of this query, used to order checking of filters that are not cached.
|
DelegatingCollector |
getFilterCollector(IndexSearcher searcher)
Returns a DelegatingCollector to be run after the main query and all of its filters, but before any sorting or grouping collectors
|
int |
hashCode() |
getCacheSep, getOptions, getOptionsString, setCache, setCacheSep, setCost, toStringclassHash, createWeight, rewrite, sameClassAs, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCacheSep, setCache, setCacheSep, setCostpublic AnalyticsQuery()
public AnalyticsQuery(MergeStrategy mergeStrategy)
mergeStrategy - defines the distributed merge strategy for this AnalyticsQuerypublic boolean getCache()
ExtendedQuerygetCache in interface ExtendedQuerygetCache in class ExtendedQueryBasepublic int getCost()
ExtendedQuerygetCost in interface ExtendedQuerygetCost in class ExtendedQueryBasepublic DelegatingCollector getFilterCollector(IndexSearcher searcher)
PostFiltergetFilterCollector in interface PostFilterpublic abstract DelegatingCollector getAnalyticsCollector(ResponseBuilder rb, IndexSearcher searcher)
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.