Storage Modes
mnoGoSearch for Windows stores evey appeapance of a word found in document. It makes phrase search possible.
Modes
There are two modes of word storage currently supported by mnoGoSearch for Windows: "single" and "multi". Default mode is "single". Mode is to be selected in Database section of Common tab of mnoGoSearch for Windows and search.htm file.
single mode
When "single" is specified, all words are stored in a single SQL table with structure (url_id, word, coord), where url_id is the ID of the document which is referenced by rec_id field in "url" table. Word has "variable char(32)" SQL type. "Coord" column stores word the position from the beginning of the document as well as its section ID (e.g. body, title, meta.desction etc)
Note
"single" mode supports substring search.
multi mode
If "multi" is selected, words are distrubuted between 256 tables. Structure of these tables is more efficient than "single" mode. "multi" mode is faster than "single" mode but requires more tables.
Note
"multi" mode does not support substring search. This feature will be added in the near future.
|