search

Create, list, update, and drop MongoDB Search indexes and queries.

Updated Feb 10, 2026
One-click install
npx skills add https://github.com/dacharyc/mdb-skill-builder --skill search-dacharyc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: search
Source: https://github.com/dacharyc/mdb-skill-builder/tree/main/ext-source/skills/search
Command: npx skills add https://github.com/dacharyc/mdb-skill-builder --skill search-dacharyc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Implement MongoDB Search indexes and queries to optimize search capabilities.

Core Features & Use Cases

  • Manage Search Indexes: create, list, update, and drop indexes for MongoDB Search.
  • Write and optimize queries: craft text, compound, and wildcard queries with multi-analyst support.
  • Real-world guidance: apply search features to typical datasets with best practices for performance and relevance.

Quick Start

Create a sample MongoDB Search index and run a basic $search query on my dataset.

Frequently Asked Questions about search

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create and manage MongoDB search indexes using the Node.js driver?

MongoDB search indexes can be created, listed, updated, and dropped using the Node.js driver to manage index configurations and optimize search capabilities across typical datasets.

How do I write compound and wildcard queries for MongoDB text search?

MongoDB text search queries can be constructed using compound and wildcard options to handle complex search requirements, allowing you to craft multi-analyzer queries for improved relevance.

When should I use multiple analyzers in a MongoDB search index?

Multiple analyzers in a MongoDB search index are used when you need dynamic mappings and varied text processing for different fields, supporting diverse query construction and analyzer configuration tuning.

Does this MongoDB search tuning approach work with dynamic mappings and typical datasets?

MongoDB search index tuning supports dynamic mappings and applies real-world guidance to typical datasets, ensuring best practices for performance and relevance across various search configurations.

What is the best way to tune MongoDB search index performance for relevance?

Tuning MongoDB search index performance involves configuring index analyzers, managing multi-analyzer usage, and applying best practices to optimize search capabilities for text and compound queries.

How do I run a basic $search query on my MongoDB dataset?

A basic $search query can be run on your MongoDB dataset by first creating a sample search index, then writing and executing the query using the Node.js driver to retrieve search results.