Skip to content

Commit 84ef410

Browse files
committed
feat(notebooks): port Python notebook 11_advanced_queries to Java
Ports docs/user_guide/11_advanced_queries.ipynb from Python RedisVL to Java integration test. Demonstrates advanced query types: - TextQuery: Full text search with BM25/TFIDF scoring, filters, field weights - MultiVectorQuery: Multi-modal search across text and image embeddings Test coverage (8 test methods): 1. Basic text search for keywords 2. Text search with different scoring algorithms (BM25 vs TFIDF) 3. Text search with tag and numeric filters 4. Text search with field weights prioritization 5. Basic multi-vector query (text + image embeddings) 6. Multi-vector query with different weight distributions 7. Multi-vector query with category filtering 8. Side-by-side comparison of query types Sample dataset: 6 sporting goods products with: - Text fields: brief_description, full_description - Numeric fields: price, rating - Tag fields: product_id, category - Vector fields: text_embedding (3D), image_embedding (2D) All tests use real Redis Stack integration with proper setup/teardown. Port of redis-vl-python PR #434, #436, #437, #438 related notebook updates.
1 parent 7cee96b commit 84ef410

File tree

1 file changed

+481
-0
lines changed

1 file changed

+481
-0
lines changed

0 commit comments

Comments
 (0)