Process Results with Search Options

For the complete MongoDB documentation index, see www.mongodb.com/docs/llms.txt

Process Results with Search Options

MongoDB Search provides several options that you can use to process or refine your [$search](https://www.mongodb.com/docs/search/query/aggregation-stages/search.md#mongodb-pipeline-pipe.-search results. You can use any combination of these options to tailor your search results to your use case.

Search Options

Use the following table to explore the available search options. Each reference page includes usage details and runnable examples to help you get started:

Use Case Option
Understand the relevance of your results or adjust the ranking of returned documents [score](https://www.mongodb.com/docs/search/query/score/overview.md#std-label-scoring-ref
Display results in a specific order, such as by date or alphabetically [sort](https://www.mongodb.com/docs/search/query/sort.md#std-label-sort-ref
Highlight where a user's search term appears in results along with adjacent content [highlight](https://www.mongodb.com/docs/search/query/highlighting.md#std-label-highlight-ref
Determine the size of a result set for pagination or analytics [count](https://www.mongodb.com/docs/search/query/counting.md#std-label-count-ref
Build pagination features into your application, like “Next Page” and “Previous Page” functions [searchSequenceToken](https://www.mongodb.com/docs/search/query/paginate-results.md#std-label-fts-paginate-results