Include

Name

Include -- includes additional configuration file

indexer.conf

search.htm

Synopsis

Include {filename}

Description

The Include command includes another configuration file into the current indexer.conf.

Note: It's also possible to include a configuration file from search.htm. See an example in the section about the ENV::addline() method.

If filename starts with the / sign, the path is treated as absolute. Otherwise, the path is treated as relative to the /etc directory of the mnoGoSearch installation.

Examples


# Absolute path if filename starts with "/":
Include /usr/local/mnogosearch/etc/inc1.conf

# Relative path otherwise:
Include inc1.conf
      

See also

ImportEnv, ReplaceVar.