26template <
typename index_t>
27void load_index(index_t & index, std::filesystem::path
const & path)
29 std::ifstream is{path, std::ios::binary};
30 cereal::BinaryInputArchive iarchive{is};
37template <
typename index_t>
38void load_index(index_t & index,
search_arguments const & arguments,
size_t const part)
40 std::filesystem::path index_file{arguments.index_file};
42 arguments.load_index_timer.start();
43 detail::load_index(index, index_file);
44 arguments.load_index_timer.stop();
47template <
typename index_t>
50 arguments.load_index_timer.start();
51 detail::load_index(index, arguments.index_file);
52 arguments.load_index_timer.stop();
Provides raptor::raptor_index.
Provides raptor::search_arguments.
Definition search_arguments.hpp:28