Search flow

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 table below shows the internal stages of each search operation.

Before a search query in text form is parsed, aliases in the query are replaced with their text (the ALIAS_SUBSTITUTION phase of the SearchPhase enumeration). This phase is performed for every search query in text form and is not performed for queries in object form. For details on aliases, see the Using aliases page.

The completion of each phase raises the search_phase_completed event. The search_phase property of the event arguments returns the completed phase, the query property returns the processed query or word, and the words property returns the words obtained in this phase. For details, see the Search index events page.

See also Query language specification, Search operation table.

OperationSearch flow
Any search query in text formAlias substitution
Parsing the query
Search flow of the parsed query (see below)
Simple term search (case insensitive)Keyboard layout correction
Spelling correction
Homophone search
Synonym search
Word forms search (since v.18.7)
Fuzzy search
Retrieving results
Simple term search (case sensitive)Retrieving results
Wildcard search (since v.18.12)Wildcard search
Retrieving results
Date range searchRetrieving results
Numeric range searchRetrieving results
Phrase searchRetrieving results for each term of a phrase
Joining sets of results
Regex searchRegex search
Fuzzy search
Retrieving results
And, OrRetrieving results for each operand
Combining sets of results
NotRetrieving results for operand
Inverting set of results

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 the full-featured 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.