[CSHARP-4703] Add implementation for ScoreDetails Created: 01/Jul/23  Updated: 11/Jul/23  Resolved: 11/Jul/23

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

Type: New Feature Priority: Unknown
Reporter: Samir Boulema Assignee: Boris Dogadov
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Documentation Changes: Not Needed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

Returning Score Details was added to MongoDB (https://www.mongodb.com/docs/atlas/atlas-search/score/get-details/#std-label-fts-score-details)

 

It would be nice to be able to use this feature in a strongly typed fashion with the C# driver.

 

Also created a post about this on the community forum: https://www.mongodb.com/community/forums/t/c-driver-and-scoredetails/230391/3

 

I am currently working on my first MongoDB PR that would implement this!



 Comments   
Comment by Boris Dogadov [ 11/Jul/23 ]

Merged, thank you for your contribution s.boulema@louwmangroup.nl.

Comment by Githook User [ 11/Jul/23 ]

Author:

{'name': 'Samir Boulema', 'email': 'sboulema@gmail.com', 'username': 'sboulema'}

Message: CSHARP-4703: Add implementation for ScoreDetails

Co-authored-by: Samir Boulema <samir@auto.nl>
Co-authored-by: BorisDog <BorisDog@users.noreply.github.com>
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/c56d8b0fc300aa30717223b544dc14e34d3a300d

Comment by James Kovacs [ 04/Jul/23 ]

Hi, s.boulema@louwmangroup.nl,

Thank you for the feature request and PR. We appreciate that you included both meaningful XML comments and tests with your PR. The patch is running on Evergreen (our CI system) now and we will get back to you with any feedback in the next few days.

Thank you again for your contribution!
James

Comment by Samir Boulema [ 01/Jul/23 ]

Added PR: https://github.com/mongodb/mongo-csharp-driver/pull/1126

Comment by PM Bot [ 01/Jul/23 ]

Hi s.boulema@louwmangroup.nl, thank you for reporting this issue! The team will look into it and get back to you soon.

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