index_meta: Get Index Metadata

View source: R/index.R

index_metaR Documentation

Get Index Metadata

Description

Returns the metadata data.frame for all vectors in the index.

Usage

index_meta(index)

Arguments

index

An usearchlite_index object.

Value

A data.frame with at least an 'id' column.

Examples

tmp <- tempfile()
dir.create(tmp)
idx <- index_new(3L, tmp)
idx <- index_add(idx, 1L, c(1, 0, 0), meta = list(name = "first"))
m <- index_meta(idx)
unlink(tmp, recursive = TRUE)

usearchlite documentation built on Feb. 13, 2026, 1:06 a.m.