class Memo::USearchIndex::Pending

Overview

Index changes made during a database transaction, applied in order once it commits. The index can't roll back, so changing it earlier would leave it out of step with the database after a rollback.

Defined in:

memo/usearch_index.cr

Instance Method Summary

Instance Method Detail

def add(key : UInt64, embedding : Array(Float64)) #

[View source]
def apply(index : USearch::Index) #

[View source]
def empty? : Bool #

[View source]
def remove(key : UInt64) #

[View source]
def size : Int32 #

[View source]