Skip to contents

Retrieves vectors by ID from an index.

Usage

vector_fetch(index, ids, namespace = "", tidy = TRUE)

Arguments

index

Name of the index

ids

Vector IDs to fetch (character vector)

namespace

Namespace to fetch from (default: "")

tidy

Whether to return tidy tibble format (default: TRUE)

Value

List with http response, content (vectors), and status_code

Examples

if (FALSE) { # \dontrun{
vector_fetch("my-index", ids = c("vec1", "vec2"), namespace = "")
} # }