org.apache.lucene.search
public class ConstantScoreQuery extends Query
Version: $Id: ConstantScoreQuery.java 507374 2007-02-14 03:12:50Z yonik $
Nested Class Summary | |
---|---|
protected class | ConstantScoreQuery.ConstantScorer |
protected class | ConstantScoreQuery.ConstantWeight |
Field Summary | |
---|---|
protected Filter | filter |
Constructor Summary | |
---|---|
ConstantScoreQuery(Filter filter) |
Method Summary | |
---|---|
protected Weight | createWeight(Searcher searcher) |
boolean | equals(Object o) Returns true if o is equal to this. |
void | extractTerms(Set terms) |
Filter | getFilter() Returns the encapsulated filter |
int | hashCode() Returns a hash code value for this object. |
Query | rewrite(IndexReader reader) |
String | toString(String field) Prints a user-readable version of this query. |
o
is equal to this.