FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

refactor: contains method in the base class by jupyterjazz · Pull Request #1701 · docarray/docarray · GitHub

refactor: contains method in the base class - #1701

Merged
jupyterjazz merged 3 commits into
mainfrom
refactor-docindex-contains
Jul 17, 2023
Merged

refactor: contains method in the base class#1701
jupyterjazz merged 3 commits into
mainfrom
refactor-docindex-contains

Conversation

jupyterjazz commented Jul 15, 2023
edited
Loading

Copy link
Copy Markdown
Contributor

small refactoring: put contains method in the base class and ask backends to implement _doc_exists

Signed-off-by: jupyterjazz <saba.sturua@jina.ai>
jupyterjazz linked an issue Jul 15, 2023 that may be closed by this pull request
jupyterjazz changed the title refactor: abstract contains method refactor: contains method in the base class Jul 15, 2023

codecov Bot commented Jul 15, 2023
edited
Loading

Copy link
Copy Markdown

Codecov Report

Patch coverage: 88.88% and project coverage change: +0.05 🎉

Comparison is base (a3f6998) 85.88% compared to head (45fc457) 85.94%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1701      +/-   ##
==========================================
+ Coverage   85.88%   85.94%   +0.05%     
==========================================
  Files         126      126              
  Lines        7899     7890       -9     
==========================================
- Hits         6784     6781       -3     
+ Misses       1115     1109       -6     
Flag Coverage Δ
docarray 85.94% <88.88%> (+0.05%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
docarray/index/backends/in_memory.py 46.62% <50.00%> (+0.51%) ⬆️
docarray/index/abstract.py 88.64% <71.42%> (-0.10%) ⬇️
docarray/index/backends/elastic.py 90.16% <100.00%> (+0.26%) ⬆️
docarray/index/backends/hnswlib.py 95.27% <100.00%> (+0.35%) ⬆️
docarray/index/backends/qdrant.py 77.72% <100.00%> (+0.24%) ⬆️
docarray/index/backends/redis.py 88.70% <100.00%> (+0.22%) ⬆️
docarray/index/backends/weaviate.py 95.02% <100.00%> (+0.22%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Signed-off-by: jupyterjazz <saba.sturua@jina.ai>
Signed-off-by: jupyterjazz <saba.sturua@jina.ai>

Copy link
Copy Markdown

📝 Docs are deployed on https://ft-refactor-docindex-contains--jina-docs.netlify.app 🎉

jupyterjazz merged commit 0ea6846 into main Jul 17, 2023
jupyterjazz deleted the refactor-docindex-contains branch July 17, 2023 08:19
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

feat: doc_exists for each backend

2 participants


Back | FazBrowse Home | New Git URL