MongoDB Search provides several options that you can use to process or refine your $search results. You can use any combination of these options to tailor your search results to your use case.
opciones de búsqueda
Use the following table to explore the available search options. Each reference page includes usage details and runnable examples to help you get started:
Caso de uso | Opción |
|---|---|
Comprender la relevancia de sus resultados o ajustar la clasificación de los documentos devueltos. | |
Display results in a specific order, such as by date or alphabetically | |
Highlight where a user's search term appears in results along with adjacent content | |
Determine the size of a result set for pagination or analytics | |
Build pagination features into your application, like "Next Page" and "Previous Page" functions | |
Track popular search terms or improve search functionality based on user behavior |