/documentdb:documentdb-full-text-searchfrom documentdb
Provides full-text search best practices for Azure DocumentDB using createSearchIndexes and $search aggregation. Covers BM25 scoring, fuzzy search, phrase search, custom analyzers, pathHierarchy tokenizer, multi-field indexes, and hybrid BM25+vector retrieval via RRF.
Ships in documentdb. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
$search + createSearchIndexes)Azure DocumentDB's full-text search is driven by search indexes built with the createSearchIndexes database command and queried through the $search aggregation stage. Scoring is BM25, exposed via $meta: "searchScore". The community $text operator and { field: "text" } index type are not the DocumentDB search path.
Key syntax points that differ from many blog posts and older docs:
createSearchIndexes (not createIndexes) — each index has a name and a definition.mappings.fields block; dynamic: false is the safe default.definition.analyzers and are referenced per-field via analyzer / searchAnalyzer.$search targets an index by name via index: "<name>" — the engine does not auto-pick when multiple exist.count field inside $search — use a downstream { $limit: N } stage.compound operator yet — query one field at a time and merge in the application (see fts-multifield-index).runCommand({ createSearchIndexes }); use definition.mappings with dynamic: false.$search + text operator for BM25 keyword search; target index, project searchScore, cap with $limit.fuzzy: { maxEdits: 1 } to tolerate typos; keep maxEdits small.phrase operator with slop for ordered-proximity matching.lowerCase + asciiFolding + edgeGram for case-insensitive prefix matching on IDs, SKUs, part numbers. Index-time vs search-time analyzer pair.pathHierarchy tokenizer for hierarchical identifiers (BN-747-ENG-2024.05, dotted, slash paths).$search compound is unavailable.fts-basic-search.md (opens in a new tab)fts-create-search-index.md (opens in a new tab)fts-custom-analyzers.md (opens in a new tab)fts-fuzzy-search.md (opens in a new tab)fts-hybrid-search.md (opens in a new tab)fts-multifield-index.md (opens in a new tab)fts-path-hierarchy.md (opens in a new tab)fts-phrase-search.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub azure/documentdb-agent-kit --plugin documentdb17 skills in this plugin
/documentdb-azure-deploymentAuthor infrastructure-as-code without deploying, or deploy an Azure DocumentDB (with MongoDB compatibility) cluster (`Microsoft.DocumentDB/mongoClusters`) end-to-end — Bicep (primary), Azure CLI (`documentdb` extension), Terraform, or the Azure portal. Every step has a scriptable command, so it works the same for a developer at a terminal, a CI pipeline, or a coding agent. Covers resource-group creation, cluster parameters (tier, storage, server version, sharding, HA), firewall rule configuration, retrieving the connection string, and teardown. Use when the user asks to provision, create, deploy, or spin up an Azure DocumentDB (with MongoDB compatibility) cluster, or wants infrastructure-as-code for one./documentdb-connectionOptimize MongoDB client connection configuration (pools, timeouts, patterns) for Azure DocumentDB. Use this skill when working on functions that instantiate or configure a MongoDB client (e.g., calling `connect()`), configuring connection pools, troubleshooting connection errors (ECONNREFUSED, timeouts, pool exhaustion), optimizing connection-related performance issues. Includes scenarios like building serverless functions, creating API endpoints, optimizing high-traffic applications, or debugging connection failures.Other plugins' skills for the same job