Class BooleanPointsConfig
java.lang.Object
org.apache.lucene.queryparser.flexible.standard.config.PointsConfig
com.apple.foundationdb.record.lucene.search.BooleanPointsConfig
public class BooleanPointsConfig
extends org.apache.lucene.queryparser.flexible.standard.config.PointsConfig
A subclass of PointsConfig to allow the Parser the ability to translate boolean terms to binary ones.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.lucene.queryparser.flexible.standard.config.PointsConfig
equals, getNumberFormat, getType, hashCode, setNumberFormat, setType
-
Field Details
-
TRUE_BYTES
public static final byte[] TRUE_BYTES -
FALSE_BYTES
public static final byte[] FALSE_BYTES
-
-
Constructor Details
-
BooleanPointsConfig
Constructs aPointsConfigobject.- Parameters:
format- theNumberFormatused to parse aStringtoNumberThis is actually ignored for Boolean types, but is required by contract.- See Also:
-
PointsConfig.setNumberFormat(NumberFormat)
-