| |
|
| java.lang.Object org.apache.lucene.search.Query org.apache.lucene.search.ConstantScoreQuery
ConstantScoreQuery | public class ConstantScoreQuery extends Query (Code) | | A query that wraps a filter and simply returns a constant score equal to the
query boost for every document in the filter.
version: $Id: ConstantScoreQuery.java 564236 2007-08-09 15:21:19Z gsingers $ |
Inner Class :protected class ConstantWeight implements Weight | |
Inner Class :protected class ConstantScorer extends Scorer | |
ConstantScoreQuery | public ConstantScoreQuery(Filter filter)(Code) | | |
equals | public boolean equals(Object o)(Code) | | Returns true if o is equal to this.
|
extractTerms | public void extractTerms(Set terms)(Code) | | |
getFilter | public Filter getFilter()(Code) | | Returns the encapsulated filter
|
hashCode | public int hashCode()(Code) | | Returns a hash code value for this object.
|
toString | public String toString(String field)(Code) | | Prints a user-readable version of this query.
|
|
|
|