[CSHARP-4901] SearchMeta Facet without operator not supported by driver but is supported by api Created: 04/Jan/24 Updated: 08/Jan/24 |
|
| Status: | Backlog |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | 2.23.0, 2.23.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Unknown |
| Reporter: | Ben Gelens | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
according to docs the operator is not required (and testing with compass proves desired results) https://www.mongodb.com/docs/atlas/atlas-search/facet/#syntax
My usecase: I just want a count of all documents per status so I can report on the statistics |
| Comments |
| Comment by Boris Dogadov [ 05/Jan/24 ] | |||||||||||||||||||||||||||||||||||||||
|
Hi ben.gelens@security.wortell.nl, Thank you for reporting this, and providing a workaround as well. We will evaluate the priority of this issue. Please follow this ticket for further updates. Thanks. | |||||||||||||||||||||||||||||||||||||||
| Comment by Ben Gelens [ 04/Jan/24 ] | |||||||||||||||||||||||||||||||||||||||
|
this should work (or an alternate way)
instead I have to work around the issue now by defining:
which results in:
while this is what I want it to be:
| |||||||||||||||||||||||||||||||||||||||
| Comment by PM Bot [ 04/Jan/24 ] | |||||||||||||||||||||||||||||||||||||||
|
Hi ben.gelens@security.wortell.nl, thank you for reporting this issue! The team will look into it and get back to you soon. |