java-client
java-client copied to clipboard
Add support for properties in hybrid search
With 1.19.0 Weaviate supports properties in hybrid search: The BM25-part of hybrid only searches the given properties.
The properties should be added to the HybridBuilder and the resulting GraphQL query then needs to look like this:
hybrid:{query:\"hello\", properties: ["prop1", "prop"] ...more options...}
The parameter is optional and not supplying it results in all properties being searched.
Example python PR
Waiting for a new release.