Class IndexFingerprint

  • All Implemented Interfaces:

    public class IndexFingerprint
    extends Object
    implements org.apache.solr.common.MapSerializable
    NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
    • Constructor Detail

      • IndexFingerprint

        public IndexFingerprint()
      • IndexFingerprint

        public IndexFingerprint​(long maxVersionSpecified)
    • Method Detail

      • getMaxVersionSpecified

        public long getMaxVersionSpecified()
      • getMaxVersionEncountered

        public long getMaxVersionEncountered()
      • getMaxInHash

        public long getMaxInHash()
      • getVersionsHash

        public long getVersionsHash()
      • getNumVersions

        public long getNumVersions()
      • getNumDocs

        public long getNumDocs()
      • getMaxDoc

        public long getMaxDoc()
      • compare

        public static int compare​(IndexFingerprint f1,
                                  IndexFingerprint f2)
        returns 0 for equal, negative if f1 is less recent than f2, positive if more recent
      • fromObject

        public static IndexFingerprint fromObject​(Object o)
        Create an IndexFingerprint object from a deserialized generic object (Map or NamedList)