Creating an index

View as MarkdownMarkdown

Set up your AI agent

Give your coding agent live access to the GroupDocs documentation and API reference through the GroupDocs Docs MCP server — no install, no API key. Learn more

claude mcp add --transport http groupdocs-docs https://docs.groupdocs.com/mcp

Also process documents locally

The GroupDocs.Search MCP server lets your agent work with files on your machine; they are never uploaded. It runs in Docker: replace /path/to/documents with the folder it may use.

claude mcp add groupdocs-search -- docker run --rm -i -v /path/to/documents:/data ghcr.io/groupdocs-search/search-net-mcp:latest
Folders, licensing and more →

The articles in this section describe advanced search index creation topics.

Find out how to create an index on disk or in memory, subscribe to index events, work with multiple indexes in a single index repository, apply index settings, and which indexes of previous versions can be opened, updated, merged and saved:

Note
Since version 26.11, an index folder is used by one Index object at a time, in this process or in another one: dispose of an index before its folder is opened, created, saved or updated again; otherwise, IOException is thrown. An index that is not disposed keeps its folder until it is finalized; an index loaded into memory by LoadIntoMemoryCompletely does not use its folder. A new index is not created in a folder that contains other files or subfolders unless overwriteIfExists is true. See Search index location.

More resources

GitHub examples

You may easily run the code from documentation articles and see the features in action in our GitHub examples:

Free online document search App

Along with full featured .NET library we provide simple, but powerful free Apps.

You are welcome to search over your PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX and more with our free online Free Online Document Search App.