public class IndexFingerprint extends Object
Constructor and Description |
---|
IndexFingerprint() |
Modifier and Type | Method and Description |
---|---|
static int |
compare(IndexFingerprint f1,
IndexFingerprint f2)
returns 0 for equal, negative if f1 is less recent than f2, positive if more recent
|
static IndexFingerprint |
fromObject(Object o)
Create an IndexFingerprint object from a deserialized generic object (Map or NamedList)
|
static IndexFingerprint |
getFingerprint(SolrCore core,
long maxVersion)
Opens a new realtime searcher and returns it's fingerprint
|
static IndexFingerprint |
getFingerprint(SolrIndexSearcher searcher,
long maxVersion) |
long |
getMaxDoc() |
long |
getMaxInHash() |
long |
getMaxVersionEncountered() |
long |
getMaxVersionSpecified() |
long |
getNumDocs() |
long |
getNumVersions() |
long |
getVersionsHash() |
Object |
toObject()
Create a generic object suitable for serializing with ResponseWriters
|
String |
toString() |
public long getMaxVersionSpecified()
public long getMaxVersionEncountered()
public long getMaxInHash()
public long getVersionsHash()
public long getNumVersions()
public long getNumDocs()
public long getMaxDoc()
public static IndexFingerprint getFingerprint(SolrCore core, long maxVersion) throws IOException
IOException
public static IndexFingerprint getFingerprint(SolrIndexSearcher searcher, long maxVersion) throws IOException
IOException
public static int compare(IndexFingerprint f1, IndexFingerprint f2)
public Object toObject()
public static IndexFingerprint fromObject(Object o)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.