Linux command
meilisearch 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start server
meilisearch
Start with master key
meilisearch --master-key=[your-key]
Specify data directory
meilisearch --db-path=[/var/lib/meilisearch]
Set HTTP address
meilisearch --http-addr=[127.0.0.1:7700]
Run in production mode
meilisearch --env=production --master-key=[key]
说明
Meilisearch is a fast, typo-tolerant search engine. It provides instant search with features like typo tolerance, filters, faceting, and highlighting out of the box. Meilisearch is designed as an alternative to Elasticsearch and Algolia for smaller-scale applications.
参数
- --master-key _key_
- Master API key.
- --db-path _path_
- Database directory.
- --http-addr _addr_
- Listen address.
- --env _mode_
- Environment (development/production).
- --max-indexing-memory _size_
- Memory limit for indexing.
- --log-level _level_
- Logging level.
FAQ
What is the meilisearch command used for?
Meilisearch is a fast, typo-tolerant search engine. It provides instant search with features like typo tolerance, filters, faceting, and highlighting out of the box. Meilisearch is designed as an alternative to Elasticsearch and Algolia for smaller-scale applications.
How do I run a basic meilisearch example?
Run `meilisearch` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --master-key _key_ do in meilisearch?
Master API key.