├── CMakeLists.txt ├── Dockerfile ├── README.md ├── bin └── word_embedding │ └── tencent-ai.word.emb.float32.base64 ├── image └── 1570446682487.png ├── protobuf └── basic_server.proto ├── python └── test_concurrent │ ├── add.py │ ├── config.py │ ├── data.py │ ├── run.sh │ └── search.py ├── src ├── clustering │ ├── online.cc │ └── online.h ├── config.h ├── database.cc ├── database.h ├── faiss_index.cc ├── faiss_index.h ├── interfaces.cc ├── interfaces.h ├── io_rocksdb.cc ├── io_rocksdb.h ├── run_server.cc ├── server_create.cc ├── server_create.h ├── server_delete.cc ├── server_delete.h ├── server_query.cc ├── server_query.h ├── server_restore.cc ├── server_restore.h ├── server_update.cc ├── server_update.h ├── tensor │ ├── linalg.cc │ └── linalg.h ├── utils │ ├── base64.cc │ ├── base64.h │ ├── cstring.cc │ ├── cstring.h │ ├── log.cc │ └── log.h └── wrapper_server.h └── start.sh /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/Dockerfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/README.md -------------------------------------------------------------------------------- /bin/word_embedding/tencent-ai.word.emb.float32.base64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/bin/word_embedding/tencent-ai.word.emb.float32.base64 -------------------------------------------------------------------------------- /image/1570446682487.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/image/1570446682487.png -------------------------------------------------------------------------------- /protobuf/basic_server.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/protobuf/basic_server.proto -------------------------------------------------------------------------------- /python/test_concurrent/add.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/python/test_concurrent/add.py -------------------------------------------------------------------------------- /python/test_concurrent/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/python/test_concurrent/config.py -------------------------------------------------------------------------------- /python/test_concurrent/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/python/test_concurrent/data.py -------------------------------------------------------------------------------- /python/test_concurrent/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/python/test_concurrent/run.sh -------------------------------------------------------------------------------- /python/test_concurrent/search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/python/test_concurrent/search.py -------------------------------------------------------------------------------- /src/clustering/online.cc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/clustering/online.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/config.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/src/config.h -------------------------------------------------------------------------------- /src/database.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/src/database.cc -------------------------------------------------------------------------------- /src/database.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/src/database.h -------------------------------------------------------------------------------- /src/faiss_index.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/src/faiss_index.cc -------------------------------------------------------------------------------- /src/faiss_index.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/src/faiss_index.h -------------------------------------------------------------------------------- /src/interfaces.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/src/interfaces.cc -------------------------------------------------------------------------------- /src/interfaces.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/src/interfaces.h -------------------------------------------------------------------------------- /src/io_rocksdb.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/src/io_rocksdb.cc -------------------------------------------------------------------------------- /src/io_rocksdb.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/src/io_rocksdb.h -------------------------------------------------------------------------------- /src/run_server.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/src/run_server.cc -------------------------------------------------------------------------------- /src/server_create.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/src/server_create.cc -------------------------------------------------------------------------------- /src/server_create.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/src/server_create.h -------------------------------------------------------------------------------- /src/server_delete.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/src/server_delete.cc -------------------------------------------------------------------------------- /src/server_delete.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/src/server_delete.h -------------------------------------------------------------------------------- /src/server_query.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/src/server_query.cc -------------------------------------------------------------------------------- /src/server_query.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/src/server_query.h -------------------------------------------------------------------------------- /src/server_restore.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/src/server_restore.cc -------------------------------------------------------------------------------- /src/server_restore.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/src/server_restore.h -------------------------------------------------------------------------------- /src/server_update.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/src/server_update.cc -------------------------------------------------------------------------------- /src/server_update.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/src/server_update.h -------------------------------------------------------------------------------- /src/tensor/linalg.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/src/tensor/linalg.cc -------------------------------------------------------------------------------- /src/tensor/linalg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/src/tensor/linalg.h -------------------------------------------------------------------------------- /src/utils/base64.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/src/utils/base64.cc -------------------------------------------------------------------------------- /src/utils/base64.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/src/utils/base64.h -------------------------------------------------------------------------------- /src/utils/cstring.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/src/utils/cstring.cc -------------------------------------------------------------------------------- /src/utils/cstring.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/src/utils/cstring.h -------------------------------------------------------------------------------- /src/utils/log.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/src/utils/log.cc -------------------------------------------------------------------------------- /src/utils/log.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/src/utils/log.h -------------------------------------------------------------------------------- /src/wrapper_server.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/src/wrapper_server.h -------------------------------------------------------------------------------- /start.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/layerism/brpc_faiss_server/HEAD/start.sh --------------------------------------------------------------------------------