---
name: "mkind"
section: "1"
platform: "linux"
package: "mnogosearch-mysql"
version: "3.3.7-3"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/mkind"
---

# mkind(1)

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*

## SEE ALSO

[**indexer**(8)](/indexer/8.md) **cachelogd**(8) [**splitter**(8)](/splitter/8.md)

**/usr/share/doc/mnogosearch-doc/cachemode.html**
