Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for properties in hybrid search #204

Open
dirkkul opened this issue May 8, 2023 · 1 comment
Open

Add support for properties in hybrid search #204

dirkkul opened this issue May 8, 2023 · 1 comment

Comments

@dirkkul
Copy link
Collaborator

dirkkul commented May 8, 2023

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

@jiamliang
Copy link

Waiting for a new release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants