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.
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 doIndexACORN.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.