mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-25 19:59:54 -05:00
### Does this PR have any customer impact? Yes ### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc) Feature ### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes) No ### Are you introducing any new config? If yes, do you have tests with and without them being set? No ### ChangeLog (Refer [Template](../oss/CHANGELOG.md)) ### Description Support operators such as `$in`, `$nin`, `$type`, `$ngte` etc. These are multi-range queries scanning multiple parts of the index. Things still remaining 1) Testing the operators 2) Runtime evaluation of operators against index terms. ---- #### AI description (iteration 1) #### PR Classification New feature #### PR Summary This pull request introduces support for multi-range operators in composite indexes. - Added functions in `bson_gin_composite_core.c` to handle multi-boundary conditions for operators like `$in`, `$nin`, bitwise operators, and `$type`. - Implemented `ParseOperatorStrategy` to parse and apply different operator strategies. - Enhanced existing functions to support new multi-range operator logic and error handling. <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->