|
|
| ENG/RUS Main :: RiSearch :: RiSearch Pro :: RiCoord :: RiMap :: RiSearch PHP :: RiLax :: Forum |
|
|
|
|
| Introduction :: Manual :: Order :: License |
|
|
Main
RiLax Manual© S. TarasovIndexingRiLax is a database search script with index. It means, that before you can search it reads your databases and creates index in specific format for faster searching. To start indexing, you should run script "index.pl". You may do it using UnixShell or call this script via browser. During the indexing script will create several files with information about your database (0_hash, 0_wordind and others) and store them in "db_N" directory, where "N" is some number. Indexing processmay require a lot of system resources. Probably, it is better to index local copy of your database. Then just copy created database files to the server (please use "BIN" mode). Amount of RAM, required for indexing, depends on the "temp_db_size" variable in configuration file and the size of database you want to index. Please note, that most webservers will not allow to script to work too long time. After 30-60 seconds webserver will kill your script if it not finishes indexing at that time. Therefore, you will not be able to index more than several megabytes running "index.pl" as CGI script. In order to index large sites you have to run script via UnixShell or to index local copy of your database. Auxiliary index
Script can use auxiliary indexes for specific kinds of searches.
At this time substring search and fuzzy search are available. To create substring
index you have to use parameter:
|
| http://risearch.org | S.Tarasov, © 2000-2003 |