Kavunka Software Settings File

You can scale the search engine based on the capabilities of your hardware. From a virtual machine with one core and one gigabyte of RAM to a high-performance server or even a cluster. You can change the value of constants in the file "/usr/local/kavunka/TFiles/config.t" constants.

SOFT_ID - to run multiple search engines on one server. Each such search engine should have its own unique SOFT_ID [0-9]

TIME_ZONE - server time zone

SELENIUM - makes it possible to use selenium:

NUM_WORDS - number of words in one file "/sites/domain.com_d/fwords/n.t"

NUM_WORDS_SW - number of words in one file "/sfwords/n.t"


N_URL_CACHE - how many lines are in the "/sites/domain.com_d/cache/n.t"

MAX_DOMAINS_SRV - maximum number of sites in a search engine

MAX_URLS_SITE - maximum number of pages for one website

FOLDERS_PER_SITE - how many folders to distribute data from one website

MAX_TENTACLE - maximum number of tentacle-search for one octopus-search

NUM_ALL_WORDS - maximum number of words per website

N_BED_URLS - number of bad urls

N_URLS_FOR_SCAN - maximum number of lines (urls) in files "/sites/domain.com_d/urlsforscan.t" and "/sites/domain.com_d/urlspriorscan.t"

WORDS_NUM 10 - does not affect the work, we do not recommend changing

WORDS_NUM_TEN 10 - does not affect the work, we do not recommend changing

MAX_HASHES - maximum hashes of unique paragraphs

STATS_NOT_UNIQ_PARAG - take words from non-unique paragraphs?

MIN_LEN_PARAG - minimum paragraph length for participating in word indexing

MAX_ALL_SITES_WORDS - dictionary size

MAX_OCTOPUS maximum number of octopuses that can work

SEARCH_TOP - maximum number of topers that can work (increases search quality)

MAX_KEYS - the maximum number of keys that are used to prompt users

MIN_WORDS_IN_KAY - minimum number of words per key

MAX_WORDS_IN_KAY - maximum number of words per key

KEYS_LEN_INDEX - maximum key length

KEYS_NUMBERS_INDEX - maximum number of keys for each character

KEYS_TOP_INDEX - how many keys should be displayed in the prompt to users