Jiří Ondrušek created CAMEL-23859:
-------------------------------------
Summary: camel-weaviate: Add BATCH_CREATE, HYBRID_QUERY,
BM25_QUERY, and AGGREGATE operations
Key: CAMEL-23859
URL: https://issues.apache.org/jira/browse/CAMEL-23859
Project: Camel
Issue Type: Improvement
Components: camel-weaviate
Affects Versions: 4.22.0
Reporter: Jiří Ondrušek
Assignee: Jiří Ondrušek
Follow-up to CAMEL-23482 (Weaviate client v6 upgrade). The v6 client exposes
additional capabilitiesthat the camel-weaviate component should support.
New operations:
- BATCH_CREATE — insert multiple objects in a single call via
collection.data.insertMany(). Accepts a
List<WeaviateObject> as body.
- HYBRID_QUERY — combined keyword + vector search via
collection.query.hybrid(). Supports a configurable
alpha parameter (0.0 = pure BM25, 1.0 = pure vector) and optional query vector.
- BM25_QUERY — keyword-only search via collection.query.bm25().
- AGGREGATE — collection-level aggregation via collection.aggregate.overAll(),
returns total count and
aggregate metadata.
New headers:
- CamelWeaviateHybridAlpha (Float) — alpha value for hybrid search blending
- CamelWeaviateQueryVector (List<Float>) — optional vector for hybrid search
--
This message was sent by Atlassian Jira
(v8.20.10#820010)