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

No enum constant io.milvus.v2.common.ConsistencyLevel.SESSION #1112

Open
itflash opened this issue Oct 16, 2024 · 4 comments
Open

No enum constant io.milvus.v2.common.ConsistencyLevel.SESSION #1112

itflash opened this issue Oct 16, 2024 · 4 comments

Comments

@itflash
Copy link

itflash commented Oct 16, 2024

sdk版本:2.4.5,v2
image
image
image

@yhmo
Copy link
Contributor

yhmo commented Oct 17, 2024

So far, Java SDK doesn't support Session level.

@itflash
Copy link
Author

itflash commented Oct 21, 2024

@yhmo 那一致性为SESSION的collection在java怎么查询呢,查询参数为STRONG也报错

image

@yhmo
Copy link
Contributor

yhmo commented Oct 21, 2024

Java SDK没有那个Session相应的Enum定义,而这张表的默认consistence level是Session,所以在describeCollection的时候就会报错。下个版本我加一下对Session的支持吧。目前的话你只能使用python sdk去查询这张表。

@yhmo
Copy link
Contributor

yhmo commented Oct 22, 2024

Session patch:
#1130

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