Skip to content

fix: add empty judgement to index search#1533

Merged
jupyterjazz merged 3 commits into
mainfrom
fix-memory-find
May 15, 2023
Merged

fix: add empty judgement to index search#1533
jupyterjazz merged 3 commits into
mainfrom
fix-memory-find

Conversation

@AnneYang720

Copy link
Copy Markdown
Contributor

This PR is related to issue #1530 .

Signed-off-by: AnneY <evangeline-lun@foxmail.com>

@JoanFM JoanFM left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we check what happens with other backends?

Signed-off-by: jupyterjazz <saba.sturua@jina.ai>
Comment thread docarray/index/backends/hnswlib.py Outdated
Comment thread docarray/index/backends/in_memory.py Outdated
Signed-off-by: jupyterjazz <saba.sturua@jina.ai>
@github-actions

Copy link
Copy Markdown

📝 Docs are deployed on https://ft-fix-memory-find--jina-docs.netlify.app 🎉

@jupyterjazz

Copy link
Copy Markdown
Contributor

@JoanFM only hnsw failed when the index was empty, others are doing well

@jupyterjazz jupyterjazz merged commit 1f2dcea into main May 15, 2023
@jupyterjazz jupyterjazz deleted the fix-memory-find branch May 15, 2023 09:03
@samsja samsja mentioned this pull request May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: DocIndex search fails when it's empty

3 participants