Expose Redis server warnings on SearchResults
Maintainer thường phản hồi trong vòng 4 ngày
@Ayush701-code-zm đang làm issue này rồi.
Từ ngày 25/11/2026.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Python
- Star
- 435
- Fork
- 123
- Merge trung bình
- 8 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 39
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của redis/redis-vl-python
-
SearchIndex.drop_keys does not validate cluster hash-tag co-location (inconsistent with drop_documents)Có thể đã có người làm @Hashim1999164 đã nhận 47 ngày trước. Đang mởbug good first issue index
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
redis/redis-vl-python#601 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
redis/redis-vl-python#889 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Add image embedding to the Cohere vectorizer (Embed v4 and v5)Có thể đã có người làm @rahulsjha đã nhận 1 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 58/100
redis/redis-vl-python#888 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 38/100
redis/redis-vl-python#887 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
GoogleGenAIVectorizer.embed_many fails on gemini-embedding-2 for batches of more than one inputCó thể đã có người làm @pcbeingused33 đã nhận 2 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 25/100
redis/redis-vl-python#886 ·
Maintainer thường phản hồi trong vòng 4 ngày
Tất cả issue của redis/redis-vl-python
Issue tương tự
-
bug(operator): VolterraOperator built inside jax.jit with a concrete decay raises TracerBoolConversionErrorCó thể đã có người làm @jejjohnson đã nhận hôm nay. Đang mởtype:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
jejjohnson/integrix#144 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
finos/ai-governance-framework#459 ·
-
slurm: a case outcome nested too deep crashes status/collect instead of reading as no outcomeĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
autowarefoundation/autoware_carla_scenario#2963 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
freelawproject/litigant-portal#1307 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
type/bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
h2oai/h2o-llmstudio#1163 ·
Maintainer thường phản hồi trong vòng 1 ngày