Docs Menu
1

Ensure that your CLASSPATH contains the following libraries.

junit
4.11 or higher version
mongodb-driver-sync
4.3.0 or higher version
slf4j-log4j12
1.7.30 or higher version
2

Create a file named DateNumberToStringQuery.java.

3

Copy and paste the code for the operator for which you created the index into the DateNumberToStringQuery.java 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.

4

Compile and run DateNumberToStringQuery.java file.

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

About

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