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

SearchByVectorParam.Builder无法设置radius条件 #3

Closed
dengliming opened this issue Oct 25, 2024 · 9 comments
Closed

SearchByVectorParam.Builder无法设置radius条件 #3

dengliming opened this issue Oct 25, 2024 · 9 comments

Comments

@dengliming
Copy link

dengliming commented Oct 25, 2024

@anyihao

@anyihao
Copy link
Collaborator

anyihao commented Oct 25, 2024

感谢使用,radius 参数向量数据库内核支持还有疑问,这里java sdk没有将该参数开放使用,这里做了个预留(这里后面注意下,不开放的代码中应该不出现),后续放开时会加上该设置方法。

@dengliming
Copy link
Author

额,那我只能拿到score再过滤了?

@anyihao
Copy link
Collaborator

anyihao commented Oct 25, 2024

现阶段是,我们会尽快将该功能开放出来

@dengliming
Copy link
Author

现在功能有点弱,连uint64类型都无法支持in (1,2,3)这样的语法,希望跟上市面竞品啊

@anyihao
Copy link
Collaborator

anyihao commented Oct 25, 2024

uint64是支持in语法的,例如: Filter.in("key", Arrays.asList(1, 2, 3)) 里面的元素可以是Long之类的,现在不支持include之类的列表操作,你的建议我会给产品反馈下,继续追赶市面竞品

@dengliming
Copy link
Author

uint64是支持in语法的,例如: Filter.in("key", Arrays.asList(1, 2, 3)) 里面的元素可以是Long之类的,现在不支持include之类的列表操作,你的建议我会给产品反馈下,继续追赶市面竞品

并不可以。

VectorDBServer error: search not Success, body code=14000, message=knowledge_collection_0_0:Filter syntax error. Stop pos: knowledgeId in (189,1849002819387535361,1849015317041909762,1849015853904437250,1849020258485784578,1849020475738148865)

image

@anyihao
Copy link
Collaborator

anyihao commented Oct 25, 2024 via email

@anyihao
Copy link
Collaborator

anyihao commented Oct 25, 2024 via email

@anyihao anyihao closed this as completed Jan 22, 2025
@anyihao
Copy link
Collaborator

anyihao commented Jan 22, 2025

最新的向量数据库版本支持uin64 in操作和设置redius参数了

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