About Kavunka
Kavunka - demon that searches of information (the core of the search engine). Kavunka accepts requests on port 2044 as JSON and ignores any requests from unfamiliar IP. The list of allowed IPs is in the file "/TFiles/allowedip.txt".
Example - {"mod":1,"np":0,"req":"Hello world","settings":{"justice":1,...,"stemm":1}}
"mod" - search mode
- 1 - standard search mode
- 2 - search using settings stored in a variable "settings"
- 3 - Kavunka will save the settings sent by the administrator
- 4 - reset settings
- 5 - get settings
"np" - page number
"req" - user request
"settings" - more about settings search
Settings search stored in "/TFiles/settings.t"
How to run the Kavunka?
To run the program, you need to execute commands in the terminal:
In order for the kavunka to accept requests from the administrator, you must open the port 2044 for 127.0.0.1
So that the kavunka can accept requests from external IP (list of external IPs you must place in the file "/TFiles/allowedip.txt")