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 Details

    • TRUE_BYTES

      public static final byte[] TRUE_BYTES
    • FALSE_BYTES

      public static final byte[] FALSE_BYTES
  • Constructor Details

    • BooleanPointsConfig

      public BooleanPointsConfig(NumberFormat format)
      Constructs a PointsConfig object.
      Parameters:
      format - the NumberFormat used to parse a String to Number This is actually ignored for Boolean types, but is required by contract.
      See Also:
      • PointsConfig.setNumberFormat(NumberFormat)