Skip to content

How to load a previously saved index? #3

@jamjpan

Description

@jamjpan

I'm using write_index to save an IndexACORNFlat to disk and then IndexACORN(faiss::read_index(filename), params...) to read it back. Is this the right way to do it? I'm asking because when I then go to do IndexACORN.search(...char* filter_id_map), I don't get any search results, and I'm wondering if it's due to the way I'm reading/writing the index or something else. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions