---
layout: page
title: "Index Text Chunk"
node_type: "vector.IndexTextChunk"
namespace: "vector"
---

**Type:** `vector.IndexTextChunk`

**Namespace:** `vector`

## Description

Index a single text chunk.
    vector, embedding, collection, RAG, index, text, chunk

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| collection | `collection` | The collection to index | `{"type":"collection","name":""}` |
| document_id | `str` | The document ID to associate with the text chunk | `` |
| text | `str` | The text to index | `` |
| metadata | `dict` | The metadata to associate with the text chunk | `{}` |

## Outputs

_(none)_

## Related Nodes

Browse other nodes in the [vector](../) namespace.
