public static class CollapsingQParserPlugin.CollapsingPostFilter extends ExtendedQueryBase implements PostFilter
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) |
void |
visit(QueryVisitor visitor) |
getOptions, getOptionsString, setCost
classHash, createWeight, rewrite, sameClassAs, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
setCost
public String hint
public CollapsingPostFilter(SolrParams localParams, SolrParams params, SolrQueryRequest request)
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 void visit(QueryVisitor visitor)
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-2021 Apache Software Foundation. All Rights Reserved.