File ssserver1.ini instructs SSServer to search files listed in filelist1.txt in one language while file ssserver2.ini instructs the program to process other files in another language. For example:
File ssserver1.ini:
LANGUAGE=English.ssl
FILELIST=EnglishFilesList.txt
WORKDIR=WorkdirForEnglishFiles
File ssserver2.ini:
LANGUAGE=Russian.ssl
FILELIST=RussianFilesList.txt
WORKDIR=WorkdirForRussianFiles
File EnglishFileList.txt:
DIR=/usr/local/www/data/EnglishFolder/
URL=http://www.mycompany.com/EnglishFolder/
File RussianFileList.txt:
DIR=/usr/local/www/data/RussianFolder/
URL=http://www.mycompany.com/RussianFolder/
Finally, place both forms on your Web server's pages; also explain your visitors that they may type in queries in English using the first form, and in Russian using the second one. The search form can look as follows:
Search my site in English: | Search my site in Russian: |
Note that the WORKDIR parameters should be different in different configuration files as shown in the example.
Exclude this directory from the filelist.txt. After it, include only the required files from this directory into the list on the "per file" level, e.g. using the instruction FILE=. Keep in mind, that SSServer does not select text and HTML files based on their extension: it processed all files in a given directory (without subdirectories) when it runs into the DIR= instruction.
SSServer checks the language of your search phrase and compares it with the language dictionary. If this error message constantly appears in SSServer reports, make sure that you have correctly entered your language in the configuration file ssserver.ini (check the statement LANGUAGE=).
SSServer and Subject Search Server are trademarks of Kryloff Technologies, Inc.