Understanding the new IndexIDMap #2704
Unanswered
harishankar-gopalan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all, I could see that prior to 1.7.3 indexes like IndexHNSW do not have support for
add_with_ids
. Is this understanding correct ?In v1.7.3 I could see that there is a new
IndexIDMap
which can subsume any innerIndex
type within it thus providing support for custom ids. It seems to essentially call theadd
method on the inner index and manage the mapping between the custom ids and the sequential ids generated by theadd
method.I wanted to understand if my above understanding is correct and if it would be right to say that starting from v1.7.3 onwards any index type can support custom ids for indexing.
Is there any recent discussion threads on these design decisions and how these are planned to be used etc.
edit:
I could see that prior to 1.7.3 the IndexIDMap was available in MetaIndexes.cpp.
Is all my understanding described above also applicable for the version of IndexIDMap prior to v1.7.3 available in MetaIndexes.cpp ?
Beta Was this translation helpful? Give feedback.
All reactions