I have installed script, but it das not work!!!
There are two common errors during script installing.
1) in first line of every script put the path to Perl on your system
(under Windows you can simple write "#!perl");
2) Unix-systems have differnet format of text files, than Windows.
Therefore scripts should be send to server in ASCII mode.
And check once again all paths in "config.pl".
How to write the path to directory with HTMl files?
Path to files in $base_dir should be written as links in HTMl files.
If your site, for example, has such structure:
$base_dir should look like:
'../', if you more like it).
In case when all scripts are located in separate subdirectory,
you should write something like this:
Many servers have other directory structure:
In such case the right path will be:
All this cases are valid only in situation when working directory
is the directory where script is located. For most webservers it is true,
however, in some webservers working directory could be the root directory
of webserver. In such case you will need to edit all necessary paths
(parameter $base_dir, paths to database files "db/0_hash", "db/0_hashwords"
and so on in config.pl, and path to config.pl in
index.pl and search.pl).
If you still have problems with paths, you may use absolute paths
to files. Please note, that you have to write path starting from
the root of file system, not the root of webserver
Can I index remote sites with RiSearch?
Yes, use "spider.pl". However, this script is very simple
and designed for indexing one or two remote sites.
Does RiSearch support phrase search?
No, after the indexing RiSearch does not save the whole file in database,
therefore all information about words order in the file is lost.
Is there any limitations on number or size of indexed files?
The script himself hasn't any limitations. However RiSearch is not
intended for really LARGE sites. Besides, script takes a large amount
of system resources during the indexing phase.
Can I add or delete a page from database?
No, you will have to reindex the whole site.
Will RiSearch work with languages other then English?
Yes, RiSearch should work with almost any language after small tuning.
You just need to tell him which characters are letters in your
language, and how to convert capital letters to lower case.
When RiSearch find a lot of matches, it works quite slowly.
It is possible for long and complex queries. If there are more then 10
keywords in query and for every keyword found 1000 matches, it may took
some time to process the results of search. However, even in that case
search will not take more than 2-3 seconds.