| java.lang.Object org.apache.lucene.search.Query org.apache.lucene.search.ConstantScoreRangeQuery
ConstantScoreRangeQuery | public class ConstantScoreRangeQuery extends Query (Code) | | A range query that returns a constant score equal to its boost for
all documents in the range.
It does not have an upper bound on the number of clauses covered in the range.
If an endpoint is null, it is said to be "open".
Either or both endpoints may be open. Open endpoints may not be exclusive
(you can't select all but the first or last term without explicitly specifying the term to exclude.)
version: $Id: ConstantScoreRangeQuery.java 564236 2007-08-09 15:21:19Z gsingers $ |
ConstantScoreRangeQuery | public ConstantScoreRangeQuery(String fieldName, String lowerVal, String upperVal, boolean includeLower, boolean includeUpper)(Code) | | |
equals | public boolean equals(Object o)(Code) | | Returns true if o is equal to this.
|
getField | public String getField()(Code) | | Returns the field name for this query
|
getLowerVal | public String getLowerVal()(Code) | | Returns the value of the lower endpoint of this range query, null if open ended
|
getUpperVal | public String getUpperVal()(Code) | | Returns the value of the upper endpoint of this range query, null if open ended
|
hashCode | public int hashCode()(Code) | | Returns a hash code value for this object.
|
includesLower | public boolean includesLower()(Code) | | Returns true if the lower endpoint is inclusive
|
includesUpper | public boolean includesUpper()(Code) | | Returns true if the upper endpoint is inclusive
|
toString | public String toString(String field)(Code) | | Prints a user-readable version of this query.
|
|
|