[CSHARP-3447] LINQ3: Refactor support for IndexOfAny to use $expr instead of regular expressions Created: 04/Mar/21 Updated: 23/Nov/21 Resolved: 30/Mar/21 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | LINQ3 |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Robert Stam | Assignee: | Robert Stam |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Epic Link: | CSHARP-2608 | ||||||||
| Description |
|
Now that the server supports $expr in filters we can translate IndexOfAny using aggregation operators instead of regular expressions. While the resulting translations are somewhat longer than the regular expressions they replace, they are more direct mappings from C# to MQL and should therefore be easier to understand and less bug prone. |
| Comments |
| Comment by Robert Stam [ 30/Mar/21 ] |
|
We have decided that we should translate to regular expressions after all.
|
| Comment by Robert Stam [ 09/Mar/21 ] |
|
Done but not reviewed |