Skip to content

refactor: implementation of InMemoryExactNNIndex follows DBConfig way#1649

Merged
JoanFM merged 4 commits into
mainfrom
fix-in-memory-db-config
Jun 14, 2023
Merged

refactor: implementation of InMemoryExactNNIndex follows DBConfig way#1649
JoanFM merged 4 commits into
mainfrom
fix-in-memory-db-config

Conversation

@JoanFM

@JoanFM JoanFM commented Jun 14, 2023

Copy link
Copy Markdown
Member

The InMemoryExactNNIndexer gets an attribute in __init__ instead of following the pattern of using DBConfig.

Waiting for #1648 to be merged updating Documentation

…tern

Signed-off-by: Joan Fontanals Martinez <joan.martinez@jina.ai>
@JoanFM JoanFM force-pushed the fix-in-memory-db-config branch from cdec987 to 35e108a Compare June 14, 2023 14:50
@JoanFM JoanFM marked this pull request as draft June 14, 2023 14:51

@jupyterjazz jupyterjazz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I like this, makes more sense

Comment thread docarray/index/backends/in_memory.py Outdated
Comment thread docarray/index/backends/in_memory.py
Comment thread docarray/index/backends/in_memory.py Outdated
Joan Fontanals Martinez added 2 commits June 14, 2023 18:27
Signed-off-by: Joan Fontanals Martinez <joan.martinez@jina.ai>
Signed-off-by: Joan Fontanals <joan.martinez@jina.ai>
@JoanFM JoanFM force-pushed the fix-in-memory-db-config branch from f19f481 to f8ce345 Compare June 14, 2023 16:38
@JoanFM JoanFM marked this pull request as ready for review June 14, 2023 16:38

@jupyterjazz jupyterjazz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

one small comment and lgtm

Comment thread docarray/index/backends/in_memory.py Outdated
@JoanFM JoanFM force-pushed the fix-in-memory-db-config branch from f8ce345 to fc963ea Compare June 14, 2023 16:45
Comment thread docs/user_guide/storing/index_in_memory.md
Signed-off-by: Joan Fontanals Martinez <joan.martinez@jina.ai>
@JoanFM JoanFM force-pushed the fix-in-memory-db-config branch from fc963ea to 4b97eb4 Compare June 14, 2023 16:55
@github-actions

Copy link
Copy Markdown

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

@JoanFM JoanFM merged commit 69dc861 into main Jun 14, 2023
@JoanFM JoanFM deleted the fix-in-memory-db-config branch June 14, 2023 17:02
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.

2 participants