qdrant / go-client

Go client for Qdrant vector search engine
Apache License 2.0
161 stars 15 forks source link

Get和search函数查出来Payload的值为nil #20

Closed Jmengfei closed 1 year ago

Jmengfei commented 1 year ago

hi,我使用go语言查询时返回的Payload值为nil。 image

同样的查询,在使用python查询时,是有值的。

使用官方的提供的example,也是没有数据的 image

wslyyy commented 1 year ago

同样的问题

incafox commented 1 year ago

@Jmengfei did you find a solution?

Jmengfei commented 1 year ago

@Jmengfei did you find a solution?

No, I switched to python language.

Rendez commented 1 year ago

It is documented here, you need to pass with_vectors from the GetPoints proto definition to get the vectors included in the response. I added a couple of lines for this in the main example: https://github.com/qdrant/go-client/commit/8183f43dbe68321e42020a9853426a49ca5b9c12

Let me know if it solves your issue.

Rendez commented 1 year ago

Closing, but I'll re-open if your issue isn't solved.