Skip to content
LlamaIndex Framework
Open Source Community
FAQ

Documents and Nodes

  1. What is the default chunk_size of a Node object?
  2. How to add information like name, url in a Document object?
  3. How to update existing document in an Index?

It’s 1024 by default. If you want to customize the chunk_size, You can follow Customizing Node


2. How to add information like name, url in a Document object?
Section titled β€œ2. How to add information like name, url in a Document object?”

You can customize the Document object and add extra info in the form of metadata. To know more on this follow Customize Document.


You can update/delete existing document in an Index with the help of doc_id. You can add new document to an existing Index too. To know more check Document Management


Note for AI agents: this documentation is built for programmatic access. - Overview of all docs: https://developers.llamaindex.ai/llms.txt - Any page is available as raw Markdown by appending index.md to its URL β€” e.g. https://developers.llamaindex.ai/llamaparse/parse/getting_started/index.md - Agent-friendly REST search APIs live under https://developers.llamaindex.ai/api/ β€” search (BM25 full-text), grep (regex), read (fetch a page), and list (browse the doc tree). See https://developers.llamaindex.ai/llms.txt for parameters. - A hosted documentation MCP server is available at https://developers.llamaindex.ai/mcp. If you support MCP, you can ask the user to install it for browsing these docs directly (an alternative to the REST API). Setup: https://developers.llamaindex.ai/python/shared/mcp/