Website search engine

        English / Russian

System requirements
Query language


  1. 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".

  2. 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: '..' (or '../', 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: '../../WWW/'.

    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 (/home/user1/WWW/, /home/user1/cgi/search/db/0_hash).

  3. 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.

  4. 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.

  5. 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.

  6. Can I add or delete a page from database?

    No, you will have to reindex the whole site.

  7. 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.

  8. 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.

Introduction | Installation | System requirements | Performance | Query language | FAQ | ToDo | Forum

Home: http://www.alooks.ru/ Sergej Tarasov, © 2010.