mnoGoSearch 3.2.25 reference manual: Full-featured search engine software | ||
---|---|---|
Prev | Chapter 5. Storing mnoGoSearch data | Next |
Beginning from mnoGoSearch version 3.2.0 searchd support is available.
Faster searching when using Ispell and synonyms. Related files are loaded into memory when searchd is started, while search.cgi loads data before every query.
Several search databases can be merged.
To start using searchd:
Copy $PREFIX/etc/searchd.conf-dist to searchd.conf.
Edit searchd.conf.
Add the following command to search.htm:
DBAddr searchd://hostname/ or DBAddr searchd://hostname:port/, e.g.
DBAddr searchd://localhost/
Default port value is 7003
Start searchd:
/usr/local/mnogosearch/sbin/searchd &
To suppress output to stderr, use -l option. The output will go through syslog only (in case syslog support was not disabled during installation with --disable-syslog). In case syslog is disabled, it is possible to direct stderr to a file:
/usr/local/mnogosearch/sbin/searchd 2>/var/log/searchd.log &
searchd just like indexer can be used with an option of a configuration file, e.g. relative path to /etc directory of mnoGoSearch installation:
searchd searchd1.conf
or with absolute path:
searchd /usr/local/mnogosearch/etc/searchd1.conf