定义其他搜索选项
This section describes the options that you can use with the $search
stage:
Sort the results in ascending or descending order by date, number (integer, float, and double), and string values.
跨分段并行查询执行,以改善每个单独的查询延迟。
Highlight search terms as they appear in the returned documents, along with the adjacent text content (if any).
Retrieve a count of the Atlas Search results for your query.
Paginate results sequentially to build functionality similar to "Next Page" and "Previous Page" in your application.
Track the search terms to view analytics information about the search terms in your queries.
Return fields stored on
mongot
.