Skip to content

readMilvusCollection is not able to read all of the vectors in a collection. #27

@nisharyan

Description

@nisharyan

I am trying to use the spark-milvus connector to read all the vector embeddings from a collection.
I created a collection with 100,000 vectors and tried to read from it.

Initially the total vectors read is around 50k usually. Later after flushing the segments, the number of vectors read goes up to 95-98k. But the whole collection cannot be read.

  • I am using df.count() to check the number of vectors read.
  • I am using readMilvusCollection of MilvusUtils to read the collection.

Am I missing something here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions