Upgrade to paginated serverless ListCollections and KeywordIndex builder - #176
Merged
Conversation
rust-client dev (#296) changed the serverless API: list_collections now takes a ListCollections request and returns a page with next_offset_token, and KeywordIndex became a struct with an optional prefix-matching flag. - list_matching walks all pages (100 per request) instead of assuming a single unpaginated response, so spaces with >20 collections are fully listed and cleared. - to_serverless_config forwards the upload YAML's keyword `prefix: true` onto the serverless index, which the previous unit-struct could not express. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
generall
added a commit
that referenced
this pull request
Sep 7, 2026
…der (#176) rust-client dev (#296) changed the serverless API: list_collections now takes a ListCollections request and returns a page with next_offset_token, and KeywordIndex became a struct with an optional prefix-matching flag. - list_matching walks all pages (100 per request) instead of assuming a single unpaginated response, so spaces with >20 collections are fully listed and cleared. - to_serverless_config forwards the upload YAML's keyword `prefix: true` onto the serverless index, which the previous unit-struct could not express. Co-authored-by: Claude Fable 5.1 <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
Bumps the locked
qdrant-client(gitdev) fromb6bacf7to31b5f12, which pulls in qdrant/rust-client#296: paginated serverlessListCollectionsplus keyword prefix and full-text analysis options.Adapts bfb to the two API changes that affect it:
list_collectionsis paginated.list_matchingnow requests 100 collections per page and followsnext_offset_tokenuntil exhausted. Before this, the server default of 20 would have silently truncatedbfb serverless list/clear/ registry bootstrap in spaces with more collections.KeywordIndexis a struct with a builder. The upload YAML'sprefix: trueon keyword fields is now forwarded to the serverless index viaKeywordIndex::new().with_prefix(). Previously the flag was accepted but dropped in serverless mode.Not wired up: the new
TextIndexoptions (ascii_folding,stopwords,stemmer). bfb's payload config has no fields for these yet, so they stay unset (service default).Test plan
cargo clippy --all-targetscleancargo test— 177 passed, including a newkeyword_prefix_flag_is_forwardedtest inserverless/convert.rsbfb serverless listagainst a space with >20 collections returns all of them🤖 Generated with Claude Code