struct Memo::IndexJournal::Recovery

Overview

What opening the index took to bring it up to date.

Defined in:

memo/index_journal.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(replayed : Int32 = 0, rebuilt : Int32 = 0, missing : Int32 = 0) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(replayed _replayed = @replayed, rebuilt _rebuilt = @rebuilt, missing _missing = @missing) #

[View source]
def missing : Int32 #

Embeddings found by the one-time migration (see backfill_vectors) with no vector in the index either. Searches can't find them until their sources are indexed again.


def rebuilt : Int32 #

Vectors loaded into a rebuilt index (0 if the file was used)


def replayed : Int32 #

Logged changes replayed since the file's checkpoint