VectorQueryPlan

How a VectorQuery finds its candidates, as JsonStore.explain reports it without running the search.

Properties

Link copied to clipboard

True when no index term narrows the candidates, so every vector is compared (or the search is rejected).

Link copied to clipboard

Whether the search reads documents: with a document filter, the root of each candidate near enough to be a hit is read to test the filter. Without one, only the vector index is read.

Link copied to clipboard

The index terms every candidate document has, as QueryPlan.terms writes them, or null when none narrow it.

Link copied to clipboard

How many vectors the index holds, which is the most a search compares: an unfiltered search compares every one of them whose document is visible. The count includes the vectors of deleted documents until compaction drops them.

Functions

Link copied to clipboard
open override fun toString(): String