JiriOndrusek opened a new pull request, #24577: URL: https://github.com/apache/camel/pull/24577
## Summary Follow-up to CAMEL-23482 (Weaviate client v6 upgrade). Adds four new operations leveraging v6 client capabilities: - **BATCH_CREATE** — Bulk-insert multiple objects via `insertMany()`. Body: `List<WeaviateObject<Map<String, Object>>>`, returns `InsertManyResponse`. - **HYBRID_QUERY** — Combined keyword + vector search via `hybrid()`. Body: query text (`String`). Supports `CamelWeaviateHybridAlpha` (0.0 = pure BM25, 1.0 = pure vector), `CamelWeaviateQueryVector` (optional), `CamelWeaviateQueryTopK`, and `CamelWeaviateFields` headers. - **BM25_QUERY** — Keyword-only BM25 search via `bm25()`. Body: query text (`String`). Supports `CamelWeaviateQueryTopK` and `CamelWeaviateFields` headers. - **AGGREGATE** — Collection-level aggregate statistics via `aggregate.overAll()`. No body required, returns `AggregateResponse`. ### New headers | Header | Type | Description | |--------|------|-------------| | `CamelWeaviateHybridAlpha` | `Float` | Alpha blending for hybrid search (0.0 = pure BM25, 1.0 = pure vector) | | `CamelWeaviateQueryVector` | `List<Float>` | Optional query vector for hybrid search (overrides server-side vectorizer) | ### Changes - `WeaviateVectorDbAction` — 4 new enum values - `WeaviateVectorDbHeaders` — 2 new header constants with `@Metadata` - `WeaviateVectorDbProducer` — 4 new operation methods (`batchCreate`, `hybridQuery`, `bm25Query`, `aggregate`) - `WeaviateContainerIT` — 6 new integration tests (batch create, hybrid query with/without vector, BM25 query with/without fields, aggregate) - Upgrade guide entry in `camel-4x-upgrade-guide-4_22.adoc` - Regenerated catalog JSON and endpoint DSL factory _Claude Code on behalf of Jiri Ondrusek_ Co-authored-by: Claude Opus 4.6 <[email protected]> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
