UNPKG

mongodocs-mcp

Version:

Lightning-fast semantic search for MongoDB documentation via Model Context Protocol. 10,000+ documents, <500ms search.

37 lines 1.01 kB
/** * MongoDB-Specific Query Expander * Uses deep MongoDB knowledge to expand queries intelligently */ export declare class MongoDBQueryExpander { private readonly mongoTerms; private readonly aggregationStages; /** * Expand a query with MongoDB-specific knowledge */ expandQuery(query: string): string[]; /** * Detect the intent of the query */ private detectIntent; /** * Generate smart suggestions when no results found */ generateSuggestions(query: string): string[]; /** * Add programming language specific terms */ private addProgrammingLanguageTerms; /** * Add API and method specific terms */ private addAPITerms; /** * Detect MongoDB-specific patterns (CRUSHING Octocode with intelligence!) */ private detectMongoDBPatterns; /** * Add expansions based on detected patterns */ private addPatternBasedExpansions; } //# sourceMappingURL=mongodb-query-expander.d.ts.map