Skip to content

πŸ” Web Searcher Service - ΠΏΡ€ΠΎΡ‚ΠΎΡ‚ΠΈΠΏ ΠΌΠ½ΠΎΠ³ΠΎΠΏΠΎΡ‚ΠΎΡ‡Π½ΠΎΠ³ΠΎ поисковика с Ρ€Π°Π½ΠΆΠΈΡ€ΠΎΠ²Π°Π½ΠΈΠ΅ΠΌ Ρ€Π΅Π·ΡƒΠ»ΡŒΡ‚Π°Ρ‚ΠΎΠ²

Notifications You must be signed in to change notification settings

tkvitko/study_cpp_searcher

Repository files navigation

SEARCH Engine

Installation

Requires:

Boost libpqxx

Build:

mkdir build
cd build
cmake ../
cmake --build .

Usage

Config example:

[Db]
host=localhost
port=5432
name=searcher
userName=searcher
password=searcher
[Crowler]
startPageDomain=wiki.openssl.org
startPagePath=/
recursionDepth=2
[Searcher]
serverIp=0.0.0.0
serverPort=9093

Running

To collect data:

./crowler

To run http-server to process search queries:

./http_server

Open http://127.0.0.1:9093/search

About

πŸ” Web Searcher Service - ΠΏΡ€ΠΎΡ‚ΠΎΡ‚ΠΈΠΏ ΠΌΠ½ΠΎΠ³ΠΎΠΏΠΎΡ‚ΠΎΡ‡Π½ΠΎΠ³ΠΎ поисковика с Ρ€Π°Π½ΠΆΠΈΡ€ΠΎΠ²Π°Π½ΠΈΠ΅ΠΌ Ρ€Π΅Π·ΡƒΠ»ΡŒΡ‚Π°Ρ‚ΠΎΠ²

Topics

Resources

Stars

Watchers

Forks