org.apache.solr.search
Class ConstantScorePrefixQuery
java.lang.Object
org.apache.lucene.search.Query
org.apache.solr.search.ConstantScorePrefixQuery
- All Implemented Interfaces:
- Serializable, Cloneable
public class ConstantScorePrefixQuery
- extends Query
- Version:
- $Id: ConstantScorePrefixQuery.java 472574 2006-11-08 18:25:52Z yonik $
- Author:
- yonik
- See Also:
- Serialized Form
ConstantScorePrefixQuery
public ConstantScorePrefixQuery(Term prefix)
getPrefix
public Term getPrefix()
- Returns the prefix for this query
rewrite
public Query rewrite(IndexReader reader)
throws IOException
- Overrides:
rewrite
in class Query
- Throws:
IOException
toString
public String toString(String field)
- Prints a user-readable version of this query.
- Specified by:
toString
in class Query
equals
public boolean equals(Object o)
- Returns true if
o
is equal to this.
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Returns a hash code value for this object.
- Overrides:
hashCode
in class Object
Copyright © 2006 - 2009 The Apache Software Foundation