1. Completion Server (C++)
1.1 Get it
svn checkout file://KM/ir/SVN/autocompletion
1.2 Compile it
make startCompletionServer
1.3 Run it
startCompletionServer -p <port> -l <log file> <db>.hybrid
call without arguments for detailed usage information
requires three files: <db>.hybrid (the HYB index in some binary format), <db>.vocabulary (list of distinct words in sorted order), <db>.docs.db (url + title + raw text of the documents)
See Section 4 on how to produce these files
2. Web Server (Apache + PHP)
2.1 Get it
svn checkout file://KM/ir/SVN/autocomplete-php
contains three components:
2.1.1 application-independent code: the autocomplete directory
2.1.2 application-specific code: the files index.php, autocomplete.css, autocomplete_config.php
2.1.3 web-server configuration details: the file STILL_HAS_TO_BE_WRITTEN.txt
2.2 Configure it
mkdir <some dir> cp index.php autocomplete.css autocomplete_config.php <some dir>
<some dir> should be a directory served by your web server. The search engine will then be accessible unter http://<server name>/.../<some dir>
vim autocomplete_config.php
The config file is just a list of variable assignements. It is well-documented and clearly says [TODO: not yet] which parts you must adapt (few), and which you can just leave to their default values (you can always come back and change them later).
vim <apache config file>
Adapt it as explained in the web-server configuration file from 2.1.3 above. You must have Apache + PHP installed (PHP4 or PHP5 are both fine). [TODO: give details on how to install it. For Debian, it's a simple package libapache2-mod-php4. For windows there is an installer [TODO].]