mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-25 11:49:53 -05:00
### Does this PR have any customer impact? ### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc) ### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes) ### Are you introducing any new config? If yes, do you have tests with and without them being set? ### ChangeLog (Refer [Template](../oss/CHANGELOG.md)) ### Description Make range index optimizations only run for RUM indexes. ---- #### AI description (iteration 1) #### PR Classification Code optimization #### PR Summary This pull request optimizes range index operations to only run for RUM indexes. - Changes in `src/opclass/index_support.c` to conditionally apply `OptimizeIndexExpressionsForRange` based on the index type being RUM. <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->