[JAVA-2793] Provide method for wildcard text index Created: 26/Feb/18  Updated: 28/Oct/23  Resolved: 30/Apr/18

Status: Closed
Project: Java Driver
Component/s: Builders
Affects Version/s: None
Fix Version/s: 3.7.0

Type: New Feature Priority: Minor - P4
Reporter: Farès Hassak Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 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"));
    }
 
}



 Comments   
Comment by Githook User [ 30/Apr/18 ]

Author:

{'email': 'fares.hassak@gmail.com', 'username': 'fhassak', 'name': 'Farès Hassak'}

Message: JAVA-2793 : add method for wildcard text index
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/c14e41abccf2f9f69fa37d7fe835f68eb63f93d7

Generated at Thu Feb 08 08:58:05 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.