Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2793

Provide method for wildcard text index

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 3.7.0
    • None
    • Builders
    • None

    Description

      Hello,

      New method that creates a text index using the wildcard specifier:

      public final class Indexes {
       
          public static Bson text() {
              return new BsonDocument("$**", new BsonString("text"));
          }
       
      }
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            fares.hassak@gmail.com Farès Hassak
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: