Package org.apache.solr.search
Class ExtendedQueryBase
- java.lang.Object
- 
- org.apache.lucene.search.Query
- 
- org.apache.solr.search.ExtendedQueryBase
 
 
- 
- All Implemented Interfaces:
- ExtendedQuery
 - Direct Known Subclasses:
- AnalyticsQuery,- CollapsingQParserPlugin.CollapsingPostFilter,- FilterQuery,- FunctionRangeQuery,- RankQuery,- SolrRangeQuery,- WrappedQuery
 
 public abstract class ExtendedQueryBase extends org.apache.lucene.search.Query implements ExtendedQuery 
- 
- 
Constructor SummaryConstructors Constructor Description ExtendedQueryBase()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetCache()Should this query be cached in the query cache or filter cache.intgetCost()Returns the cost of this query, used to order checking of filters that are not cached.StringgetOptions()static StringgetOptionsString(ExtendedQuery q)voidsetCache(boolean cache)voidsetCost(int cost)StringtoString(String field)- 
Methods inherited from class org.apache.lucene.search.QueryclassHash, createWeight, equals, hashCode, rewrite, sameClassAs, toString, visit
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.apache.solr.search.ExtendedQuerygetCostAppliedQuery
 
- 
 
- 
- 
- 
Method Detail- 
setCachepublic void setCache(boolean cache) - Specified by:
- setCachein interface- ExtendedQuery
 
 - 
getCachepublic boolean getCache() Description copied from interface:ExtendedQueryShould this query be cached in the query cache or filter cache.- Specified by:
- getCachein interface- ExtendedQuery
 
 - 
setCostpublic void setCost(int cost) - Specified by:
- setCostin interface- ExtendedQuery
 
 - 
getCostpublic int getCost() Description copied from interface:ExtendedQueryReturns the cost of this query, used to order checking of filters that are not cached. If getCache()==false && getCost()>=100 && this instanceof PostFilter, then the PostFilter interface will be used for filtering. Otherwise, for smaller costs, this cost will be used forTwoPhaseIterator.matchCost().- Specified by:
- getCostin interface- ExtendedQuery
 
 - 
getOptionspublic String getOptions() 
 - 
getOptionsStringpublic static String getOptionsString(ExtendedQuery q) 
 
- 
 
-