java-client icon indicating copy to clipboard operation
java-client copied to clipboard

Add support for properties in hybrid search

Open dirkkul opened this issue 2 years ago • 1 comments

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

dirkkul avatar May 08 '23 10:05 dirkkul

Waiting for a new release.

jiamliang avatar Jul 14 '23 05:07 jiamliang