Class SharedFieldCache.ValueIndex

  • Enclosing class:

    public static class SharedFieldCache.ValueIndex
    extends Object
    Expert: Stores term text values and document ordering data.
    • Field Detail

      • valuesMap

        public final Map<Integer,​Comparable<?>> valuesMap
        Values (Comparable) map indexed by document id.
      • sparse

        public final boolean sparse
        Boolean indicating whether the valuesMap impl has to be used
    • Constructor Detail

      • ValueIndex

        public ValueIndex​(Comparable<?>[] values,
                          int setValues)
        Creates one of these objects
    • Method Detail

      • getValue

        public Comparable<?> getValue​(int i)