ENG/RUS   Main :: RiSearch :: RiSearch Pro :: RiCoord :: RiMap :: RiSearch PHP :: RiLax :: Forum

Introduction :: Manual :: Order :: License :: System requirements

Main

RiSearch Pro v.3.2 Manual

© S. Tarasov

FAQ

  1. 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:
    /home/user1/public_html/index.html
    /home/user1/public_html/cgi-bin/index.pl
    base_dir should look like: '..' (or '../', if you more like it).

    In case when all scripts are located in separate subdirectory,
    /home/user1/public_html/index.html
    /home/user1/public_html/cgi-bin/search/index.pl
    you should write something like this: '../../'.

    Many servers have other directory structure:
    /home/user1/WWW/index.html
    /home/user1/cgi/search/index.pl
    In such case the right path will be: '../../WWW/'.

    All these 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).

  2. Does RiSearch support phrase search?

    Yes, set "word_dist => 1," in configuration file. However, phrase search requires position of all words inside documents to be stored in index. It greatly increases index size and slow down search. Therefore this option should not be used for big sites (more than 10000 documents).

  3. Are there any limitations on number or size of indexed files?

    In compact index mode limit is 65535 files. Otherwise script can work with larger number of documents, but index size will be bigger.

  4. Will RiSearch work with languages other then English?

    Yes, RiSearch should work with almost any language (with 1-byte letters) 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.



http://risearch.org S.Tarasov, © 2000-2003