Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-462

How to create index with MongoDB Rust driver?

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: None
    • Component/s: 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 Unassigned
            Reporter:
            huming2207@gmail.com Jackson Ming Hu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: