Skip to content

ksv87/search_engine

Repository files navigation

CI Quality Gate Status Coverage Platforms License

search_engine

This is a simple search engine for corporation use

the stack of technologies used

C++ 17 - language standard
CMake - build system
Conan - package manager
Python 3 - for conan
https://github.com/nlohmann/json - library for working with JSON
https://github.com/google/googletest - library for testing
https://www.boost.org/doc/libs/1_66_0/doc/html/boost_asio/reference/thread_pool.html - library for working with multithreading

build from source

git clone https://github.com/ksv87/search_engine.git
cd search_engine
mkdir build
cd build
conan install .. --build=missing
cmake ..
cmake --build .

for enable testing

cmake -DENABLE_TESTS=ON ..
cmake --build .

for change build type

cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build . --config Release

configuration files

.\resources\config.json - main configuration file

field max_responses - count of max responses to request
field files - files to indexing

.\resources\requests.json - file with requests
.\resources\answers.json - file with results

run tests

./bin/search_engine_test

run

./bin/search_engine

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published