mnoGoSearch 3.2 reference manual: Full-featured search engine software | ||
---|---|---|
Prev | Chapter 8. Searching documents | Next |
mnoGoSearch assumes that a document contains a phrase N words long, if all N words in a document are placed within a range of N+1 words. I.e. between N words in a row there may be one word that is not in the query. Word order within phrase does not matter.
A complete phrase is the one containing every word from the query.
Factors that are taken into account while calculating relevance of a document, in order of their importance:
Number of complete phrases taking into account weight of words it is comprised of. In complete phrases search only this factor is taken into account, while documents that do not contain complete phrase are not displayed.
Number of words from query found in a document. I.e. if there is a query of three words, documents containing all three words will have more weight than those containing only two or one word from the query.
In case of AND search all the documents not containing every word from the query will not be displayed.
Number of incomplete phrases taking into account weight of words they consist of.
In this version boolean search does not support phrases as a logical unit of search query. I.e. query "a b" & "c d" is not recognized as a two phrases query. This feature is on our TODO. Please note that in case of boolean searching of two or more words, you have to enter operators (&, |, ~). I.e. it is necessary to enter "a & book" instead of "a book" (with no quotation marks).
This feature allows to assign words between <a href="xxx"> and </a> also to a document this link leads to. It works in SQL database mode and is not supported in built-in database and Cachemode. To enable Crosswords, please use CrossWord yes command in indexer.conf and search.htm.
$(DR) template variable displays number of words from the query found in a document.