
导航目录:共(2)个目录
今天给大家带来一款轻盈、人人都会用的开源傻瓜搜索引擎——MeiliSearch
概述功能:搜索速度快、全文搜索、支持汉字、容易安装和维护,这不就是我在找的:傻瓜中文搜索引擎
我已经摩拳擦掌的跃跃欲试了,话不多说搞起!
简单的开始
纸上得来终觉浅,得上手试试效果。
1、安装和启动
Linux & Mac OS 的一键安装和启动的命令:
# Install Meilisearch latest version from the script
curl -L https:
Meilisearch安装程序是一组脚本,可确保您为系统获得正确的二进制文件。
接下来,您需要使二进制文件可以从系统中的任何地方访问。将二进制文件移动到/usr/local/bin中
mv ./meilisearch /usr/local/bin/
下面就可以简单配置并启动!
cat << EOF > /etc/systemd/system/meilisearch.service
[Unit]
Description=MeiliSearch
After=systemd-user-sessions.service
[Service]
Type=simple
ExecStart=/usr/bin/meilisearch --http-addr 127.0.0.1:7700 --env production --master-key xxxxxx
[Install]
WantedBy=default.target
EOF
# Set the service meilisearch
systemctl enable meilisearch
# Start the meilisearch service
systemctl start meilisearch
# Verify that the service is actually running
systemctl status meilisearch
下面看看成功启动后的样子

看到这个页面就是在linux下安装成功了!!
后面要写下怎么用php调用