Package org.apache.solr.search
Class LegacyNumericRangeQueryBuilder
- java.lang.Object
-
- org.apache.solr.search.LegacyNumericRangeQueryBuilder
-
- All Implemented Interfaces:
org.apache.lucene.queryparser.xml.QueryBuilder
@Deprecated public class LegacyNumericRangeQueryBuilder extends Object implements org.apache.lucene.queryparser.xml.QueryBuilder
Deprecated.Index with points and usePointRangeQueryBuilderinsteadCreates aLegacyNumericRangeQuery. The table below specifies the required attributes and the defaults if optional attributes are omitted. For more detail on what each of the attributes actually do, consult the documentation forLegacyNumericRangeQuery:supported attributes Attribute name Values Required Default fieldName String Yes N/A lowerTerm Specified by typeNo Null upperTerm Specified by typeNo Null type int, long, float, double No int includeLower true, false No true includeUpper true, false No true precisionStep Integer No 4 A
ParserExceptionwill be thrown if an error occurs parsing the suppliedlowerTermorupperTerminto the numeric type specified bytype.
-
-
Constructor Summary
Constructors Constructor Description LegacyNumericRangeQueryBuilder()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.apache.lucene.search.QuerygetQuery(Element e)Deprecated.
-
-
-
Method Detail
-
getQuery
public org.apache.lucene.search.Query getQuery(Element e) throws org.apache.lucene.queryparser.xml.ParserException
Deprecated.- Specified by:
getQueryin interfaceorg.apache.lucene.queryparser.xml.QueryBuilder- Throws:
org.apache.lucene.queryparser.xml.ParserException
-
-