public static class CollapsingQParserPlugin.CollapsingPostFilter extends ExtendedQueryBase implements PostFilter, ScoreFilter
Modifier and Type | Field and Description |
---|---|
String |
hint |
static int |
NULL_POLICY_COLLAPSE |
static int |
NULL_POLICY_EXPAND |
static int |
NULL_POLICY_IGNORE |
Constructor and Description |
---|
CollapsingPostFilter(SolrParams localParams,
SolrParams params,
SolrQueryRequest request) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
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 its filters, but before any sorting or grouping collectors
|
int |
hashCode() |
void |
setCache(boolean cache) |
void |
setCacheSep(boolean cacheSep) |
String |
toString(String s) |
getOptions, getOptionsString, setCost
classHash, createWeight, rewrite, sameClassAs, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
setCost
public String hint
public static final int NULL_POLICY_IGNORE
public static final int NULL_POLICY_COLLAPSE
public static final int NULL_POLICY_EXPAND
public CollapsingPostFilter(SolrParams localParams, SolrParams params, SolrQueryRequest request) throws IOException
IOException
public String getField()
public void setCache(boolean cache)
setCache
in interface ExtendedQuery
setCache
in class ExtendedQueryBase
public void setCacheSep(boolean cacheSep)
setCacheSep
in interface ExtendedQuery
setCacheSep
in class ExtendedQueryBase
public boolean getCacheSep()
ExtendedQuery
getCacheSep
in interface ExtendedQuery
getCacheSep
in class ExtendedQueryBase
public boolean getCache()
ExtendedQuery
getCache
in interface ExtendedQuery
getCache
in class ExtendedQueryBase
public int getCost()
ExtendedQuery
getCost
in interface ExtendedQuery
getCost
in class ExtendedQueryBase
public String toString(String s)
toString
in class ExtendedQueryBase
public DelegatingCollector getFilterCollector(IndexSearcher indexSearcher)
PostFilter
getFilterCollector
in interface PostFilter
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.