|ENG/RUS Main :: RiSearch :: RiSearch Pro :: RiCoord :: RiMap :: RiSearch PHP :: RiLax :: Forum|
|Introduction :: Manual :: Order :: License :: System requirements|
RiSearch Pro v.3.2 Manual© S. Tarasov
Found documents can be sorted by relevance, document modification date, document size or returned in the order they appear in database. Each sorting type can be turned "On" or "Off" in configuration file. By default script will store all necessary information for all types of sorting. Please note, that many webservers do not return "Last modified" date for dynamic pages, and time of indexation will be used instead.
Relevance is an abstract measure of how well a document satisfies the user's query. RiSearch uses number of asked words as a base for relevance calculation. Each word occurrence in document gives one point to this document. Certain areas in document (such as title, headings, links, and words written in bold, italic) can have higher rating. This can be set up in configuration file. Then calculated points number is normalized according to the most frequent term for this document (so that longest document not necessary gets highest rating).
Document rating for given term then can be modified according to number of documents with this term. In results most common words will have little effect in documents sorting.
Document score also can be calculated using words position. In this case documents, where asked terms appear together, will get higher rating. This feature can be turned "On" in configuration file. But please note, that it will increase index size by factor 2-3. And also it will slow down search, especially for very big sites.
Use additional parameter "&o=R" in query string to get results in reverse order.
|http://risearch.org||S.Tarasov, © 2000-2003|