Skip to content

Commit b8262b3

Browse files
skips HybridTest if redis version too old
1 parent 58d73b8 commit b8262b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/integration/test_aggregation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,8 @@ def test_hybrid_query_with_text_filter(index):
319319

320320
@pytest.mark.parametrize("scorer", ["BM25", "BM25STD", "TFIDF", "TFIDF.DOCNORM"])
321321
def test_hybrid_query_word_weights(index, scorer):
322+
skip_if_redis_version_below(index.client, "7.2.0")
323+
322324
text = "a medical professional with expertise in lung cancers"
323325
text_field = "description"
324326
vector = [0.1, 0.1, 0.5]

0 commit comments

Comments
 (0)