StoreInfo

What a store holds, as of the moment ReadableJsonStore.info was called; read from memory, without a scan.

  • approximateDocumentCount: documents a search can find now. An upper bound: an insert rejected before it wrote anything leaves a docId that is counted but names no document, so the count is exact in a store that never rejected a document that way. Inserts still running aren't counted, except, in a secondary, small ones its writer hadn't logged yet.

  • deletedDocumentCount: documents deleted over the store's life.

  • secondary: whether the counts are those of a SecondaryJsonStore, as of its last refresh.

Properties

Link copied to clipboard
Link copied to clipboard

Whether this describes a SecondaryJsonStore: the state its last refresh read.

Functions

Link copied to clipboard
open override fun toString(): String