Docs Menu
1

Create a file named date-number-to-string-query.go.

2

Copy and paste the code example for the operator for which you created the index into the date-number-to-string-query.go file.

If you created an index that uses dynamic mappings, you can query the airbnb_mat_view collection using the queryString operator. If you created an index that uses static mappings, you can query the airbnb_mat_view collection using the autocomplete operator.

3

Run the following command to query your collection:

What is MongoDB Atlas? →
Give Feedback
© 2022 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2022 MongoDB, Inc.