Examples of numericPrecisionStep()


Examples of org.apache.lucene.document.FieldType.numericPrecisionStep()

    if (numeric != null) {
      flags.append("#");
      NumericType nt = t.numericType();
      if (nt != null) {
        flags.append(nt.toString().charAt(0));
        int prec = t.numericPrecisionStep();
        String p = Integer.toHexString(prec);
        if (p.length() == 1) {
          p = "0" + p;
        }
        flags.append(p);
View Full Code Here

Examples of org.apache.lucene.document.FieldType.numericPrecisionStep()

                mapper.put("storeTermVectorOffsets", type.storeTermVectorOffsets());
                mapper.put("storeTermVectorPayloads", type.storeTermVectorPayloads());
                mapper.put("storeTermVectorPositions", type.storeTermVectorPositions());
                if (type.numericType() != null) {
                    mapper.put("numericType", type.numericType().name());
                    mapper.put("numericPrecisionStep", type.numericPrecisionStep());
                }
                if (type.docValueType() != null) {
                    mapper.put("docValueType", type.docValueType().name());
                }
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.