Repository navigation
[8.8-rse] Block NUMERIC field creation for disk (Flex) indexes - #10631
Merged
Merged
Conversation
raz-mon
force-pushed
the
block-numeric-flex-release
branch
from
July 28, 2026 03:17
d45b825 to
662ed65
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 8.8-rse #10631 +/- ##
==========================================
Coverage ? 81.11%
==========================================
Files ? 561
Lines ? 75488
Branches ? 30429
==========================================
Hits ? 61234
Misses ? 13968
Partials ? 286
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This reverts commit e0a546c (#10410), re-applying the NUMERIC block for the upcoming milestone release: the disk numeric index is not yet production-ready (replication and hot restart do not coherently snapshot the BucketMap RAM half with the SpeedB disk half), so reject NUMERIC fields at FT.CREATE time on Flex indexes, the same way GEO and GEOSHAPE fields are rejected. To be reverted again after the release tag, when numeric work resumes. Co-authored-by: Claude Fable 5 <[email protected]>
raz-mon
force-pushed
the
block-numeric-flex-release
branch
from
July 28, 2026 04:10
662ed65 to
805f2ce
Compare
Collaborator
Author
|
Closing: the block is needed on the private fork's 8.8-rse instead (enterprise 8.8 consumes redislabsdev/RediSearch 8.8-rse). Superseded by the private-fork PR. |
JoanFM
approved these changes
Jul 28, 2026
|
oshadmi
reviewed
Jul 28, 2026
| if (!FIELD_IS(fs, INDEXFLD_T_FULLTEXT) && !FIELD_IS(fs, INDEXFLD_T_VECTOR) && !FIELD_IS(fs, INDEXFLD_T_TAG) && !FIELD_IS(fs, INDEXFLD_T_NUMERIC)) { | ||
| QueryError_SetWithoutUserDataFmt(status, QUERY_ERROR_CODE_INVAL, "Disk index does not support non-TEXT/VECTOR/TAG/NUMERIC fields"); | ||
| if (!FIELD_IS(fs, INDEXFLD_T_FULLTEXT) && !FIELD_IS(fs, INDEXFLD_T_VECTOR) && !FIELD_IS(fs, INDEXFLD_T_TAG)) { | ||
| QueryError_SetWithoutUserDataFmt(status, QUERY_ERROR_CODE_INVAL, "Disk index does not support non-TEXT/VECTOR/TAG fields"); |
Collaborator
There was a problem hiding this comment.
Not being tested or not reachable?
Can be cleaned up in another PR
oshadmi
approved these changes
Jul 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Describe the changes in the pull request
Enterprise counterpart: redislabsdev/RediSearchDisk#688 (targets enterprise
8.8; its gitlink consumes this change via redislabsdev/RediSearch8.8-rse, so this PR should be synced into the private fork after merging).Which additional issues this PR fixes
Main objects this PR modified
parseFieldSpec/IndexSpec_AddFieldsInternal(src/spec.c) — NUMERIC rejection on Flextests/pytests/test_flex_validation.py— rejection assertionMark if applicable
Release Notes
🤖 Generated with Claude Code