[CSHARP-2999] Query work for FTS GA Created: 09/Mar/20  Updated: 27/Mar/20  Resolved: 27/Mar/20

Status: Closed
Project: C# Driver
Component/s: Builders
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: Esha Bhargava Assignee: Dmitry Lukyanov (Inactive)
Resolution: Won't Do Votes: 0
Labels: 4.4-release-support
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DRIVERS-819 Query work for FTS GA Closed

 Comments   
Comment by Dmitry Lukyanov (Inactive) [ 27/Mar/20 ]

Use common and already implemented way with AppendStage instead:

var searchStage = BsonDocument.Parse("{ $search : { ... } }";
var pipeline = new EmptyPipelineDefinition<BsonDocument>()
    .AppendStage<BsonDocument, BsonDocument, BsonDocument>(searchStage);
var matches = collection.Aggregate(pipeline);

Generated at Wed Feb 07 21:44:05 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.