Installing Manticore on MacOS

Via Homebrew package manager

brew install manticoresearch

For indexing the additional dependencies that can be installed using brew are mysql@5.7, libpq, unixodbc.

Afterwards you can start Manticore as a brew service:

brew services start manticoresearch

Manticore configuration file is /usr/local/etc/manticoresearch/manticore.conf.

From tarball with binaries

Download it from the website and unpack to a folder:

mkdir manticore

cd manticore

wget https://repo.manticoresearch.com/repository/manticoresearch_macos/release/manticore-5.0.2-220530-348514c86-main.tar.gz

tar -xf manticore-5.0.2-220530-348514c86-main.tar.gz

wget https://repo.manticoresearch.com/repository/manticoresearch_macos/release/manticore-columnar-lib-1.15.4-220522-2fef34e-osx10.14.4-x86_64.tar.gz

tar -xf manticore-columnar-lib-1.15.4-220522-2fef34e-osx10.14.4-x86_64.tar.gz

# Start Manticore
FULL_SHARE_DIR=./share/manticore ./bin/searchd -c ./etc/manticoresearch/manticore.conf

# Run indexer
FULL_SHARE_DIR=./share/manticore ./bin/indexer -c ./etc/manticoresearch/manticore.conf

Manticore configuration file is ./etc/manticoresearch/manticore.conf after you unpack the archive.

Installing Manticore in Windows

To install Manticore in Windows you need to download zip archive and unpack it into a folder.

  1. Download Manticore bundle and Manticore Columnar Library
  2. Create a folder, e.g. C:\Manticore
  3. Move the archives into it and extract files from them:
    • unzip manticore-5.0.2-220530-348514c86-main.zip
    • unzip manticore-columnar-lib-1.15.4-220522-2fef34e-x64.zip

The archive comes with a sample configuration file in manticore.conf.in. The configuration contains placeholders @LOGDIR@, @RUNDIR@ and @CONFDIR@ that need to be replaced with your:

  • logs dir path
  • pid files directory path
  • and data directory location

respectively. The archive also includes empty folders var/log and var/data, so if you like - you can use them.

System variable FULL_SHARE_DIR should be also set to the full path of the share folder. That allows Manticore to work with installed ICU, stop words and columnar and secondary libraries from the share folder.

To install the searchd (Manticore search server) as a Windows service run:

C:\Manticore\bin\searchd --install --config C:\Manticore\manticore.conf.in --servicename Manticore

Make sure to use the full path of the configuration file, otherwise searchd.exe will not be able to know its location when it's started as service.

After installation the service can be started from the Services snap-in of the Microsoft Management Console.

Once started you can access Manticore using the mysql command line interface:

mysql -P9306 -h127.0.0.1

Note that in most examples in this manual we use -h0, but in Windows you need to use localhost or 127.0.0.1 for the local host.

Via Homebrew in old Linuxes

Manticore team usually doesn't provide new version packages for old Linuxes (after EOL). If:

  1. you are still using such
  2. and you can't find official .deb / .apt packages on https://repo.manticoresearch.com/

You can try to use Homebrew for installing Manticore Search:

brew install manticoresearch

and then start it:

brew services start manticoresearch