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

# E603

# 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.

<CodeGroup>
  ```helixql queries.hx theme={null}
  QUERY findSimilar(embedding: [F32; 128]) =>
      results <- N<User>::SearchV(embedding, 10)
      RETURN results
  ```

  ```helixql schema.hx theme={null}
  N::User {
      name: String,
  }
  ```
</CodeGroup>

## Solution

Use `SearchV` on a vector type, not a node or edge type.

<CodeGroup>
  ```helixql queries.hx theme={null}
  QUERY findSimilar(embedding: [F32; 128]) =>
      results <- V<Document>::SearchV(embedding, 10)
      RETURN results
  ```

  ```helixql schema.hx theme={null}
  V<128>::Document {
      title: String,
      content: String,
  }
  ```
</CodeGroup>
