public class XpathFilterQuery
extends org.apache.solr.search.ExtendedQueryBase
implements org.apache.solr.search.PostFilter
Modifier and Type | Field and Description |
---|---|
static int |
POST_FILTER_COST |
Constructor and Description |
---|
XpathFilterQuery(String xpath) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
boolean |
getCache() |
org.apache.solr.search.DelegatingCollector |
getFilterCollector(org.apache.lucene.search.IndexSearcher searcher) |
int |
hashCode() |
void |
setCost(int cost) |
String |
toString(String field) |
getCacheSep, getCost, getOptions, getOptionsString, setCache, setCacheSep
classHash, createWeight, rewrite, sameClassAs, toString
public static final int POST_FILTER_COST
public XpathFilterQuery(String xpath)
public org.apache.solr.search.DelegatingCollector getFilterCollector(org.apache.lucene.search.IndexSearcher searcher)
getFilterCollector
in interface org.apache.solr.search.PostFilter
public void setCost(int cost)
setCost
in interface org.apache.solr.search.ExtendedQuery
setCost
in class org.apache.solr.search.ExtendedQueryBase
public boolean getCache()
getCache
in interface org.apache.solr.search.ExtendedQuery
getCache
in class org.apache.solr.search.ExtendedQueryBase
public String toString(String field)
toString
in class org.apache.solr.search.ExtendedQueryBase
public int hashCode()
hashCode
in class org.apache.lucene.search.Query
public boolean equals(Object obj)
equals
in class org.apache.lucene.search.Query
This work is licensed under a Creative Commons Attribution 4.0 International License.