public class CollapsingQParserPlugin.CollapsingPostFilter extends ExtendedQueryBase implements PostFilter, ScoreFilter
| Modifier and Type | Field and Description |
|---|---|
static int |
NULL_POLICY_COLLAPSE |
static int |
NULL_POLICY_EXPAND |
static int |
NULL_POLICY_IGNORE |
| Constructor and Description |
|---|
CollapsingQParserPlugin.CollapsingPostFilter(SolrParams localParams,
SolrParams params,
SolrQueryRequest request) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
boolean |
getCache()
Should this query be cached in the query cache or filter cache.
|
boolean |
getCacheSep()
If true, the clauses of this boolean query should be cached separately.
|
int |
getCost()
Returns the cost of this query, used to order checking of filters that are not cached.
|
String |
getField() |
DelegatingCollector |
getFilterCollector(IndexSearcher indexSearcher)
Returns a DelegatingCollector to be run after the main query and all of it's filters, but before any sorting or grouping collectors
|
int |
hashCode() |
void |
setCache(boolean cache) |
void |
setCacheSep(boolean cacheSep) |
String |
toString(String s) |
getOptions, getOptionsString, setCostclone, createWeight, extractTerms, getBoost, rewrite, setBoost, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitsetCostpublic static final int NULL_POLICY_IGNORE
public static final int NULL_POLICY_COLLAPSE
public static final int NULL_POLICY_EXPAND
public CollapsingQParserPlugin.CollapsingPostFilter(SolrParams localParams, SolrParams params, SolrQueryRequest request) throws IOException
IOExceptionpublic String getField()
public void setCache(boolean cache)
setCache in interface ExtendedQuerysetCache in class ExtendedQueryBasepublic void setCacheSep(boolean cacheSep)
setCacheSep in interface ExtendedQuerysetCacheSep in class ExtendedQueryBasepublic boolean getCacheSep()
ExtendedQuerygetCacheSep in interface ExtendedQuerygetCacheSep in class ExtendedQueryBasepublic boolean getCache()
ExtendedQuerygetCache in interface ExtendedQuerygetCache in class ExtendedQueryBasepublic int getCost()
ExtendedQuerygetCost in interface ExtendedQuerygetCost in class ExtendedQueryBasepublic String toString(String s)
toString in class ExtendedQueryBasepublic DelegatingCollector getFilterCollector(IndexSearcher indexSearcher)
PostFiltergetFilterCollector in interface PostFilterCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.