Process Results with Search Options
Atlas 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.
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 | |
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 |