You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 9, 2026. It is now read-only.
Repository navigation
Commit 69dc861
Browse filesBrowse the repository at this point in the historyBrowse files
Joan Fontanals
authored
refactor: implementation of InMemoryExactNNIndex follows DBConfig way (#1649)
Signed-off-by: Joan Fontanals Martinez <joan.martinez@jina.ai>
Signed-off-by: Joan Fontanals <joan.martinez@jina.ai>
This section lays out the configurations and options that are specific to [InMemoryExactNNIndex][docarray.index.backends.in_memory.InMemoryExactNNIndex].
48
54
49
-
The `DBConfig` of [InMemoryExactNNIndex][docarray.index.backends.in_memory.InMemoryExactNNIndex] contains only one entry:
50
-
the default mapping from Python types to column configurations.
55
+
The `DBConfig` of [InMemoryExactNNIndex][docarray.index.backends.in_memory.InMemoryExactNNIndex] contains two entries:
56
+
`index_file_path` and `default_column_mapping`, the default mapping from Python types to column configurations.
51
57
52
58
You can see in the [section below](#field-wise-configurations) how to override configurations for specific fields.
53
59
If you want to set configurations globally, i.e. for all vector fields in your Documents, you can do that using `DBConfig` or passing it at `__init__`::
0 commit comments