Skip to content

Inconsistent behavior in InvertedLists merge_from #2621

Closed

Description

@mdouze

The OnDiskInvertedLists merge_from takes several other InvertedLists as input

https://github.com/facebookresearch/faiss/blob/main/faiss/invlists/OnDiskInvertedLists.h#L104

while the default merge_from from InvertedLists does take a single one

https://github.com/facebookresearch/faiss/blob/main/faiss/invlists/InvertedLists.h#L112

this is inconsistent and the OnDisk one does not have an option to shift indices.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions