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.

Field Has Not Been Indexed

Erroneous Code Example

This error occurs when you try to use a field in an operation that requires the field to be indexed, but the field has not been marked with INDEX in the schema.
QUERY findUserByEmail(email: String) =>
    users <- N<User>::WHERE(|u| u.email == email)
    RETURN users

Solution

Add the INDEX modifier to the field in your schema.
N::User {
    name: String,
    email: String INDEX,
}