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

The query adds dummy filter which gives 0 results #7

Open
apohllo opened this issue Nov 21, 2023 · 0 comments
Open

The query adds dummy filter which gives 0 results #7

apohllo opened this issue Nov 21, 2023 · 0 comments

Comments

@apohllo
Copy link

apohllo commented Nov 21, 2023

in milvus.py there's a line 493 and following:

if filters is not None:
            filters += " and " + EMPTY_FIELD + " in [0]"
        else:
            filters = EMPTY_FIELD + " in [0]"

I don't know why the empty field is "required". Yet with a query that does not have any filters, the result is empty.
Changing filters to None gives non empty result

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

1 participant