How to create index with MongoDB Rust driver?

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Critical - P2
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Hi there,

      Sorry if it's a dumb question. I'm trying to implement a text search function in Rust with this tutorial: https://docs.mongodb.com/manual/text-search/

      However, in the latest 0.11.0 MongoDB driver, I can't find where is the function for creating index (like this: https://mongodb.github.io/node-mongodb-native/3.6/api/Db.html#createIndex). Is there an alternative way to create the index, or does this function not exist in the Rust driver?

      Regards,

      Jackson 

              Assignee:
              Unassigned
              Reporter:
              Jackson Ming Hu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: