SearchServer
SearchServer copied to clipboard
一个基于 faiss 的检索服务.
1. Cannot call /add in parallel the server gives 500 internal server error 2. Even after adding values via /add there is data.bin file created Application still requires some synchronization...
读取data.bin的实现在`FaissInterface.cpp`的`bool faissSearch::load`里。 具体存储规则如下: 首先是5个int,只有前三个有意义,分别对应:`数据维度(dimension),向量数量(count),fileFormatVersion,0,0`。 接下来为count组数据,每组数据的以一个int长度的id开头,然后是dim * sizeof(float)长度的数据表示向量数据。
编译的过程中报了以下错误,麻烦帮忙看下: cmake version 3.2.2 Ubuntu:14.04 root@shvm-5-51:~/SearchServer/build# cmake .. -- Build Searcher 0.1.0 -- Build Searcher without CUDA support. CMake Error: The following variables are used in this project, but they...