man mkind (Commandes) - Make indexes for mnogosearch databases
NAME
mkind: - Make indexes for mnogosearch databases
SYNOPSIS
mkind [OPTIONS] [config file]
DESCRIPTION
mkind is a tool to create search limits by tags, categories etc for the mnogosearch web indexers. This works only if mnogosearch is running in cache mode.
- -c
- create CATEGORY index
- -t
- create TAG index
- -h
- create TIME (hour) index
- -m
- create TIME (min) index
- -u
- create HOST (URL) index
- -l
- create LANGUAGE index
USAGE
You should run mkind after splitter has finished processing its files. The output of mkind is put into var/tree/lim_type.dat and var/tree/lim_type.ind files. Where type is the type of index (host, cat etc).
To use, for example, search limit by tag and caregory, add the following lines to search.htm or searchd.conf (if using the searchd daemon):
- Limit
- parm:type:file_prefix
- Where
- parm is the CGI parameter that is used to hold the value to limit it by (eg t=1 so parm is t.
type is the type of index, eg host, tag, hour.
file_prefix is the prefix of the files that store the index, usually this is lim_type