milvus-io / milvus-sdk-node

The Official Mivus node.js sdk(client)
https://milvus.io
Apache License 2.0
122 stars 37 forks source link

Add sparse float vector support #290

Open zhengbuqian opened 6 months ago

zhengbuqian commented 6 months ago

Milvus 2.4 has added beta support to sparse float vector to allow efficient storing, indexing and searching of such vectors. The main targeted use case is to support learned sparse models such as SPLADE and statistics based methods such as BM25.

We need to add sparse float vector to node SDK as well. See: https://github.com/milvus-io/milvus/issues/29419#issuecomment-2024887328 for more details.

Thanks a lot for the efforts!

shanghaikid commented 6 months ago

it is in the 2.4 branch, thanks.

shanghaikid commented 6 months ago

it will be released once milvus 2.4 released.

zhengbuqian commented 6 months ago

thanks @shanghaikid! that is great to know!

We are actively making more advanced features available to sparse fields such as range search and grouping search etc. I hope those features will just work once we finished on the milvus side, but let's leave this issue open and verify when those are ready.

We are planning to have those advanced feature support added in the next major release though, not in 2.4.