-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
Currently, matchRewriteNs generates a very verbose rewrite on the ns field, particularly for regex expressions, since we perform the rewrite separately for each operation type. It may be possible to simplify the rewrite by factoring out common parts of the rewrite, perhaps by generating the entire thing as an agg expression.