Expose Redis server warnings on SearchResults
メンテナーはふだん 4 日以内に返信
@Ayush701-code-zm がすでに取り組んでいます。
2026年11月25日 から。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
調査の方向性
Start in redisvl/index/index.py, where index.query() builds SearchResults for the aggregate and hybrid paths and currently drops the server warnings from the reply. Read the linked result-processing lines and the RESP3 handling described in issue #834. Done when SearchResults.warnings carries every server warning in order for sync and async queries, returns an empty list when there are none, and tests cover the timeout, MaxTimeoutCapped and multiple-warning replies while complete and dropped_count stay unchanged.
索引モデルが issue の本文から書いたものです。
説明
A caller can receive partial results from index.query() and see results.complete == True. For example, Redis can stop a hybrid query at its timeout, return the rows it found so far, and include a warning. If every returned row is readable, RedisVL reports dropped_count == 0 and complete == True. The caller gets the rows but cannot see that Redis stopped early. Redis FT.HYBRID response
A complete result can also carry a warning. Redis Search 8.10+ can send MaxTimeoutCapped when it reduces the requested timeout. The query can finish within that deadline and return every row. The warning tells the caller that Redis shortened the deadline. Redis timeout configuration
complete currently tells callers whether RedisVL dropped any rows while processing the reply. The aggregate and hybrid result objects can carry server warnings, but index.query() discards them when it builds SearchResults. Issue #834 describes how RESP3 aggregate and hybrid replies reach these query paths. RedisVL result processing
Requested behaviour
Expose every server warning in SearchResults.warnings, preserving the message text and order for sync and async aggregate and hybrid queries. Return an empty list when the reply has no warnings. complete and dropped_count should continue to describe rows dropped during client-side processing.
Cover both examples through the public query API. A reply containing a valid row and a timeout warning should return that row and the warning. A successful query carrying MaxTimeoutCapped should likewise expose the warning with complete == True and dropped_count == 0. Include a reply with multiple warnings to verify their order and a reply with none to verify the empty list.
- 主要言語
- Python
- スター
- 435
- フォーク
- 123
- 平均マージ
- 8日 1時間
- マージ済み PR(30日)
- 39
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
redis/redis-vl-python のほかの issue
-
SearchIndex.drop_keys does not validate cluster hash-tag co-location (inconsistent with drop_documents)対応中かも @Hashim1999164 が 47 日前に担当しました。 オープンbug good first issue index
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
redis/redis-vl-python#601 · コメント 2 件 ·
メンテナーはふだん 4 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
redis/redis-vl-python#889 ·
メンテナーはふだん 4 日以内に返信
-
Add image embedding to the Cohere vectorizer (Embed v4 and v5)対応中かも @rahulsjha が 1 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 58/100
redis/redis-vl-python#888 · コメント 2 件 ·
メンテナーはふだん 4 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 38/100
redis/redis-vl-python#887 ·
メンテナーはふだん 4 日以内に返信
-
GoogleGenAIVectorizer.embed_many fails on gemini-embedding-2 for batches of more than one input対応中かも @pcbeingused33 が 2 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
redis/redis-vl-python#886 ·
メンテナーはふだん 4 日以内に返信
redis/redis-vl-python の issue をすべて見る
似ている issue
-
bug(operator): VolterraOperator built inside jax.jit with a concrete decay raises TracerBoolConversionError対応中かも @jejjohnson が今日担当しました。 オープンtype:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
jejjohnson/integrix#144 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
finos/ai-governance-framework#459 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
autowarefoundation/autoware_carla_scenario#2963 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
freelawproject/litigant-portal#1307 ·
メンテナーはふだん 2 日以内に返信
-
type/bug
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
h2oai/h2o-llmstudio#1163 ·
メンテナーはふだん 1 日以内に返信