Skip to content

Support limit -1 in indices #1536

Open
Open
@jupyterjazz

Description

Support limit=-1 in document indices, returning all matches

docs, scores = doc_index.find(query, search_field='tensor', limit=-1)
assert len(docs) == len(scores) == doc_index.num_docs()

Metadata

Labels

good-first-issueSuitable as your first contribution to DocArray!

Type

No type

Projects

  • Status

    In progress by community

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions