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

Got error when use search #29

Open
xiangmeng4geo opened this issue Aug 26, 2024 · 0 comments
Open

Got error when use search #29

xiangmeng4geo opened this issue Aug 26, 2024 · 0 comments

Comments

@xiangmeng4geo
Copy link

When I use

t = self.db.table(table)
p = HNSWSearchParams(ef=ef, limit=limit)
anns = AnnSearch("vector", vector, params=p, filter=f)
return t.search(anns=anns)  # got Exception:  Invalid Parameter: Bad parameter 'filter'

params :
{"database":"xx","table":"xx","anns":{"vectorField":"vector","vectorFloats":[-0.06631562113761902,-0.05780224874615669...],"params":{"ef":200,"limit":1,"pruning":true},"filter":"uid == 12345 AND commit_id != 45678"},"retrieveVector":false,"readConsistency":"EVENTUAL"}

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