Schema tools improvements and query consistency#18
Merged
Conversation
- Add eventual consistency to all query calls (CLI commands and TUI) - Fix FTS detection: use ftsEnabled() helper instead of key-existence check so zeroed-out API objects no longer show as FTS-enabled - Expand schema apply to handle full FTS config objects, ann, glob, regex - Add schema diff support for property modifications (not just additions/conflicts) - Include zero vector in schema placeholder write for vector attributes - Add unindexed bytes column to TUI namespace list - Expand valid schema types ([]string, int, float) and validation rules - Validate id filterable and vector ann requirements Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Scan iterates through all documents in order, so strong consistency is more appropriate than eventual to avoid missing recently written data. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
scanwhich uses strong consistency to avoid missing recent writesschema applyto handle full FTS config objects,ann,glob, andregexproperties[]string,int,float) and add validation foridfilterable and vectorannrequirementsTest plan
tpuff browseand verify FTS column in schema view only shows "yes" for actually FTS-enabled fieldstpuff schema applywith a schema containing FTS config, ann, glob, regex and verify it applies correctlytpuff schema diffagainst a namespace with property changes and verify modifications are showntpuff search,tpuff get,tpuff listand verify queries work with eventual consistencytpuff scanand verify it uses strong consistency🤖 Generated with Claude Code