Manticore Search 5.0.0
包管理器
使用 APT 在 Debian、Ubuntu 和 Linux Mint 上安装 Manticore Search
如果您要升级到 Manticore 5,建议您首先移除旧的包,因为包结构在 Manticore 5 中发生了变化:
sudo apt remove manticore*
这不会移除您的数据或配置文件。
安装 APT 仓库和新版本:
wget https://repo.manticoresearch.com/manticore-repo.noarch.deb
sudo dpkg -i manticore-repo.noarch.deb
sudo apt update
sudo apt install manticore manticore-columnar-lib
启动 Manticore
sudo systemctl start manticore
在 文档 中了解有关 Manticore Search 的 APT 仓库的更多信息。
使用 YUM 在 Centos、RHEL 和 Oracle Linux 上安装 Manticore Search
如果您要升级到 Manticore 5,建议您首先移除旧的包,因为包结构在 Manticore 5 中发生了变化:
sudo yum remove manticore*
这不会移除您的数据或配置文件。
安装 YUM 仓库和新版本:
sudo yum install https://repo.manticoresearch.com/manticore-repo.noarch.rpm
sudo yum install manticore manticore-columnar-lib
运行
sudo systemctl start manticore
在 文档 中了解有关 Manticore Search 的 YUM 仓库的更多信息。
使用 Homebrew (版本 4.2.0) 在 MacOS (Intel) 上安装 Manticore Search
brew install manticoresoftware/manticore/manticoresearch
运行
brew services start manticoresearch
在 文档 中了解有关 Manticore Search 的 Homebrew 包的更多信息。
在 Docker 中运行 Manticore Search 仅用于试用(非生产使用)
docker run --name manticore --rm -d manticoresearch/manticore && sleep 3 && docker exec -it manticore mysql && docker stop manticore
注意,Manticore 容器将在您退出 mysql 客户端后立即停止,并且不会保存数据。
在 Docker 中运行 Manticore Search 用于生产
docker run --name manticore -v $(pwd)/data:/var/lib/manticore -p 127.0.0.1:9306:9306 -p 127.0.0.1:9308:9308 -d manticoresearch/manticore
将:
- 在端口 9306 上运行 Manticore(用于 mysql 连接)
- 和 9308(用于其他任何连接)
- 并将
./data/
作为数据目录
在 文档 中了解更多有关生产使用的信息。
单独的包
wget https://repo.manticoresearch.com/repository/manticoresearch_xenial/dists/manticore_5.0.0-220518-b4cb7da_amd64.tgz https://repo.manticoresearch.com/repository/manticoresearch_xenial/dists/xenial/main/binary-amd64/manticore-columnar-lib_1.15.2-220518-b0bcafb_amd64.deb
tar -xvf manticore_5.0.0-220518-b4cb7da_amd64.tgz
sudo dpkg -i manticore-*5.0.0-220518-b4cb7da_amd64.deb manticore-columnar-lib_1.15.2-220518-b0bcafb_amd64.deb
wget https://repo.manticoresearch.com/repository/manticoresearch_bionic/dists/manticore_5.0.0-220518-b4cb7da02_amd64.tgz https://repo.manticoresearch.com/repository/manticoresearch_bionic/dists/bionic/main/binary-amd64/manticore-columnar-lib_1.15.2-220518-b0bcafb_amd64.deb
tar -xvf manticore_5.0.0-220518-b4cb7da02_amd64.tgz
sudo dpkg -i manticore-*5.0.0-220518-b4cb7da02_amd64.deb manticore-columnar-lib_1.15.2-220518-b0bcafb_amd64.deb
wget https://repo.manticoresearch.com/repository/manticoresearch_focal/dists/manticore_5.0.0-220518-b4cb7da02_amd64.tgz https://repo.manticoresearch.com/repository/manticoresearch_focal/dists/focal/main/binary-amd64/manticore-columnar-lib_1.15.2-220518-b0bcafb_amd64.deb
tar -xvf manticore_5.0.0-220518-b4cb7da02_amd64.tgz
sudo dpkg -i manticore-*5.0.0-220518-b4cb7da02_amd64.deb manticore-columnar-lib_1.15.2-220518-b0bcafb_amd64.deb
wget https://repo.manticoresearch.com/repository/manticoresearch_jammy/dists/manticore_5.0.0-220518-b4cb7da02_amd64.tgz https://repo.manticoresearch.com/repository/manticoresearch_jammy/dists/jammy/main/binary-amd64/manticore-columnar-lib_1.15.2-220518-b0bcafb_amd64.deb
tar -xvf manticore_5.0.0-220518-b4cb7da02_amd64.tgz
sudo dpkg -i manticore-*5.0.0-220518-b4cb7da02_amd64.deb manticore-columnar-lib_1.15.2-220518-b0bcafb_amd64.deb
wget https://repo.manticoresearch.com/repository/manticoresearch_stretch/dists/manticore_5.0.0-220518-b4cb7da02_amd64.tgz https://repo.manticoresearch.com/repository/manticoresearch_stretch/dists/stretch/main/binary-amd64/manticore-columnar-lib_1.15.2-220518-b0bcafb_amd64.deb
tar -xvf manticore_5.0.0-220518-b4cb7da02_amd64.tgz
sudo dpkg -i manticore-*5.0.0-220518-b4cb7da02_amd64.deb manticore-columnar-lib_1.15.2-220518-b0bcafb_amd64.deb
wget https://repo.manticoresearch.com/repository/manticoresearch_buster/dists/manticore_5.0.0-220518-b4cb7da02_amd64.tgz https://repo.manticoresearch.com/repository/manticoresearch_buster/dists/buster/main/binary-amd64/manticore-columnar-lib_1.15.2-220518-b0bcafb_amd64.deb
tar -xvf manticore_5.0.0-220518-b4cb7da02_amd64.tgz
sudo dpkg -i manticore-*5.0.0-220518-b4cb7da02_amd64.deb manticore-columnar-lib_1.15.2-220518-b0bcafb_amd64.deb
wget https://repo.manticoresearch.com/repository/manticoresearch_bullseye/dists/manticore_5.0.0-220518-b4cb7da02_amd64.tgz https://repo.manticoresearch.com/repository/manticoresearch_bullseye/dists/bullseye/main/binary-amd64/manticore-columnar-lib_1.15.2-220518-b0bcafb_amd64.deb
tar -xvf manticore_5.0.0-220518-b4cb7da02_amd64.tgz
sudo dpkg -i manticore-*5.0.0-220518-b4cb7da02_amd64.deb manticore-columnar-lib_1.15.2-220518-b0bcafb_amd64.deb
wget https://repo.manticoresearch.com/repository/manticoresearch/dev/centos/7/manticore-5.0.0-220518-b4cb7da02.el7.x86_64.tgz https://repo.manticoresearch.com/repository/manticoresearch/release/centos/7/x86_64/manticore-columnar-lib-1.15.2_220518.b0bcafb-1.el7.centos.x86_64.rpm
tar -xvf manticore-5.0.0-220518-b4cb7da02.el7.x86_64.tgz
rpm -i manticore-*-4.2.1_220517.b9889b4-1.el7.centos.*.rpm manticore-columnar-lib-1.15.2_220518.b0bcafb-1.el7.centos.x86_64.rpm
wget https://repo.manticoresearch.com/repository/manticoresearch/dev/centos/8/manticore-5.0.0-220518-b4cb7da02.el8.x86_64.tgz https://repo.manticoresearch.com/repository/manticoresearch/release/centos/8/x86_64/manticore-columnar-lib-1.15.2_220518.b0bcafb-1.el8.x86_64.rpm
tar -xvf manticore-5.0.0-220518-b4cb7da02.el8.x86_64.tgz
rpm -i manticore-*-4.2.1_220517.b9889b4-1.el8.centos.*.rpm manticore-columnar-lib-1.15.2_220518.b0bcafb-1.el8.centos.x86_64.rpm
Install
mkdir manticore
cd manticore
wget https://repo.manticoresearch.com/repository/manticoresearch_macos/release/manticore-5.0.0-220518-b4cb7da02_64-main.tar.gz
tar -xf manticore-5.0.0-220518-b4cb7da02_64-main.tar.gz
wget https://repo.manticoresearch.com/repository/manticoresearch_macos/release/manticore-columnar-lib-1.15.2-220518-b0bcafb-osx10.14.4-x86_64.tar.gz
tar -xf manticore-columnar-lib-1.15.2_220518-b0bcafb-osx10.14.4-x86_64.tar.gz -C usr/local
请在 MacOS 中的安装和使用 Manticore 的更多详细信息请查看 文档 。
Run
LIB_MANTICORE_COLUMNAR=./usr/local/share/manticore/modules/lib_manticore_columnar.so ./usr/local/bin/searchd -c ./usr/local/etc/manticore/manticore.conf
./usr/local/bin/searchd -c ./usr/local/etc/manticore/manticore.conf
To install Manticore in Windows:
- press the below two download buttons
- download the archives
- create a folder, e.g.
C:\Manticore
- move the archives into it and extract files from them:
unzip manticore-5.0.0-220518-b4cb7da02-releasex64-main.zip
unzip manticore-columnar-lib-1.15.2_220518-b0bcafb-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.
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
请在 Windows 中安装和使用 Manticore 的更多详细信息请查看 文档 。
Linux Mint 19:
wget https://repo.manticoresearch.com/repository/manticoresearch_bionic/dists/manticore_5.0.0-220518-b4cb7da02_amd64.tgz https://repo.manticoresearch.com/repository/manticoresearch_bionic/dists/bionic/main/binary-amd64/manticore-columnar-lib_1.15.2-220518-b0bcafb_amd64.deb
tar -xvf manticore_5.0.0-220518-b4cb7da02_amd64.tgz
sudo dpkg -i manticore-*5.0.0-220518-b4cb7da02_amd64.deb manticore-columnar-lib_1.15.2-220518-b0bcafb_amd64.deb
其他下载
Manticore Search 的英语词形还原器
阅读更多关于 Manticore Search 中形态的信息 在文档中 。
解压
en.pak.tgz
到您在配置中指定的
lemmatizer_base
的文件夹中(在 Linux 中默认是 /usr/share/manticore/
),并重启 Manticore Search。
Manticore Search 的德语词形还原器
阅读更多关于 Manticore Search 中形态的信息 在文档中 。
解压
de.pak.tgz
到您配置中指定的文件夹
lemmatizer_base
(在 Linux 中默认为 /usr/share/manticore/
),并重新启动 Manticore Search。
Manticore Search 的俄语词形还原器
进一步了解 Manticore Search 中的词法学 请参见文档 。
解压
ru.pak.tgz
到您配置中指定的文件夹
lemmatizer_base
(在 Linux 中默认为 /usr/share/manticore/
),并重新启动 Manticore Search。
从 Sphinx/Manticore 2.x 到 Manticore 3.x 的索引转换器
请注意,Manticore 4 和 5 也可以读取转换后的索引。有关从 Sphinx 2 / Manticore 2 迁移的更多信息 请参见文档 。
sudo apt install manticore-converter
如果您使用我们的 APT 仓库或:
wget https://repo.manticoresearch.com/repository/manticoresearch_xenial/dists/xenial/main/binary-amd64/manticore-converter_5.0.0-220518-b4cb7da_amd64.deb
dpkg -i manticore-converter_5.0.0-220518-b4cb7da_amd64.deb
sudo apt install manticore-converter
如果您使用我们的 APT 仓库或:
wget https://repo.manticoresearch.com/repository/manticoresearch_bionic/dists/bionic/main/binary-amd64/manticore-converter_5.0.0-220518-b4cb7da02_amd64.deb
dpkg -i manticore-converter_5.0.0-220518-b4cb7da02_amd64.deb
sudo apt install manticore-converter
如果您使用我们的 APT 仓库或:
wget https://repo.manticoresearch.com/repository/manticoresearch_focal/dists/focal/main/binary-amd64/manticore-converter_5.0.0-220518-b4cb7da02_amd64.deb
dpkg -i manticore-converter_5.0.0-220518-b4cb7da02_amd64.deb
sudo apt install manticore-converter
如果您使用我们的 APT 仓库或:
wget https://repo.manticoresearch.com/repository/manticoresearch_jammy/dists/jammy/main/binary-amd64/manticore-converter_5.0.0-220518-b4cb7da02_amd64.deb
dpkg -i manticore-converter_5.0.0-220518-b4cb7da02_amd64.deb
sudo apt install manticore-converter
如果您使用我们的 APT 仓库或:
wget https://repo.manticoresearch.com/repository/manticoresearch_stretch/dists/stretch/main/binary-amd64/manticore-converter_5.0.0-220518-b4cb7da02_amd64.deb
dpkg -i manticore-converter_5.0.0-220518-b4cb7da02_amd64.deb
sudo apt install manticore-converter
如果您使用我们的 APT 仓库或:
wget https://repo.manticoresearch.com/repository/manticoresearch_buster/dists/buster/main/binary-amd64/manticore-converter_5.0.0-220518-b4cb7da02_amd64.deb
dpkg -i manticore-converter_5.0.0-220518-b4cb7da02_amd64.deb
sudo apt install manticore-converter
如果您使用我们的 APT 仓库或:
wget https://repo.manticoresearch.com/repository/manticoresearch_bullseye/dists/bullseye/main/binary-amd64/manticore-converter_5.0.0-220518-b4cb7da02_amd64.deb
dpkg -i manticore-converter_5.0.0-220518-b4cb7da02_amd64.deb
sudo apt install manticore-converter
如果您使用我们的 APT 仓库或:
yum install https://repo.manticoresearch.com/repository/manticoresearch/release/centos/7/x86_64/manticore-converter-5.0.0_220518.b4cb7da-1.el7.centos.x86_64.rpm
sudo apt install manticore-converter
如果您使用我们的 APT 仓库或:
yum install https://repo.manticoresearch.com/repository/manticoresearch/release/centos/8/x86_64/manticore-converter-5.0.0_220518.b4cb7da02-1.el8.x86_64.rpm