Use the NGT CLI for high-dimensional vector search
mainngt is a command-line tool for high-speed nearest neighbor search in high-dimensional vector data (millions to tens of millions of vectors with dozens to thousands of dimensions).
Command Syntax:
$ ngt command [option] index [data]Note: In environments where POSIXLY_CORRECT is set (like CygWin), options must be specified before the command: $ ngt [option] command index [data].
Available Commands:
create: Generate a new index and register data.append: Add new data to an existing index.prep-pq: Pre-process Product Quantization (PQ) data types.search: Perform nearest neighbor search using query data.remove: Delete specific objects from an index.prune(deprecated): Reduce long edges in the graph.reconstruct-graph: Reconstruct the graph from an existing index.rebuild: Re-initialize and regenerate the graph and tree indices.rebuild: Re-initialize and regenerate the graph and tree indices.
$ ngt command [option] index [data]