> ## Documentation Index
> Fetch the complete documentation index at: https://helix-digitalocean.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# E103

# Unknown Vector Type

## Erroneous Code Example

This error occurs when you try to reference a vector type that is not defined in your schema.

<CodeGroup>
  ```rust queries.hx theme={null}
  QUERY search(query: String) =>
      results <- SearchV<Document>(Embed(query), 10)
      RETURN results
  ```

  ```rust schema.hx theme={null}
  // no types defined
  ```
</CodeGroup>

## Solution

Define the vector type `Document` in your schema.

<CodeGroup>
  ```rust schema.hx theme={null}
  V::Document {
      // fields
  }
  ```
</CodeGroup>
