-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
VectorQuery + highlight() fails #266
Comments
Thanks for reporting. Will look into this today. Which version of redisvl and redis-py are you using? |
|
This looks like a bug! There appears to be a problem with the underlying query in FT.SEARCH, where HIGHLIGHT doesn't work alongside a knn query. I'll talk to our search engineers and update this issue as we learn more. This query works (full-text search with HIGHLIGHT):
This query also works (full-text search pre-filter and KNN query without HIGHLIGHT):
But this query fails (full-text pre-filter and KNN query, with HIGHLIGHT):
|
Aja, thanks! couple of comments:
BTW amazing library, keep the good work! |
Thanks @cancerberoSgx :) -- btw the error reported back here is just what comes from the Redis server and search library within the core. It's a bit of a red herring as the issue has nothing to do with the schema (but nice attempt at trying!!!) We will bring this to product management from Redis to see what the status is of fixes. In the meantime, mind also sharing what version of redis you are using? |
@tylerhutcherson @abrookins would be awesome if you share with me the follow up of this bug in other base projects if there's any issue or PR. Thanks |
I need to perform VectorQuery with text filters plus highlight but it fails with:
redisvl.exceptions.RedisSearchError: Error while searching: Property vector_distance is not in schema
The same works OK for FilterQuery.
Folllowing is a working example:
The text was updated successfully, but these errors were encountered: