Skip to content

Add integration test coverage for new weaviate operations (BATCH_CREATE, HYBRID_QUERY, BM25_QUERY, AGGREGATE) #8878

Description

@JiriOndrusek

Description

The camel-weaviate component gained four new operations in CAMEL-23859 (PR apache/camel#24577):

  • BATCH_CREATE — batch insert multiple objects via collection.data.insertMany()
  • HYBRID_QUERY — combined keyword + vector search with configurable alpha parameter
  • BM25_QUERY — keyword-only search via collection.query.bm25()
  • AGGREGATE — collection-level aggregation via collection.aggregate.overAll()

Two new headers were also introduced:

  • CamelWeaviateHybridAlpha (Float) — alpha blending for hybrid search
  • CamelWeaviateQueryVector (List) — optional vector for hybrid search

The camel-quarkus weaviate integration tests should be extended to cover these new operations and headers, verifying they work correctly in both JVM and native modes.

This is a follow-up to #8854 (weaviate client v5 to v6 refactoring).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions