Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.helix-db.com/llms.txt

Use this file to discover all available pages before exploring further.

For the complete documentation index optimized for AI agents, see llms.txt.

SearchV Must Be Used on a Vector Type

Erroneous Code Example

This error occurs when you use SearchV on a type that is not a vector type.
QUERY findSimilar(embedding: [F32; 128]) =>
    results <- N<User>::SearchV(embedding, 10)
    RETURN results

Solution

Use SearchV on a vector type, not a node or edge type.
QUERY findSimilar(embedding: [F32; 128]) =>
    results <- V<Document>::SearchV(embedding, 10)
    RETURN results