Installation
Requirements
Section titled “Requirements”- CS-Cart or Multi-Vendor 4.17.2 or later (any edition), PHP 7.4 to 8.3 with the
curlextension. - A Meilisearch or Typesense server that the web server can reach over HTTP(S). The search box of your visitors never talks to it directly.
- Administrator access. Marketplace owner (not a vendor) on Multi-Vendor.
The search engine
Section titled “The search engine”Run one of the open source engines on a server of your choice and note its address and its admin (master) API key.
- Meilisearch (official documentation): single binary for Linux, macOS and Windows. Start it with a master key, for example
meilisearch --master-key <long random key> --http-addr 127.0.0.1:7700. - Typesense (beta): built to the official Typesense 30 API, not yet verified on a live server; synonyms need Typesense 30+. (official documentation): Linux and macOS builds and a Docker image. Start it with an API key and a data directory. Synonyms need Typesense 30 or newer.
Keep the engine behind a firewall or bound to a private address, and use HTTPS when it is on another machine. Both engines keep their index in memory or memory-mapped files, so size the server from your own catalog: index it once and watch the engine’s memory.
Install the add-on
Section titled “Install the add-on”- Download
kv_search_engine_pack-<version>.zipfrom your Kavio Labs or CS-Cart Marketplace account. - In the admin panel open Add-ons → Manage add-ons, click the gear button, choose Manual installation and upload the archive.
- Make sure Search Engine Pack is Active; enter your license key under the add-on’s License tab when asked.
- Open Products → Search engine, tab Connection: choose the engine, enter the server address and the admin API key, save, and press Test connection.
- Open the tab Overview and press Rebuild the index. The progress bar fills while the products are indexed; searches keep using the standard search until the first index is ready.
Product changes reach the engine right after you save them. A cron job retries failed changes and continues an interrupted rebuild. Run it every minute:
* * * * * php /path/to/store/admin.php --dispatch=kv_search_engine_pack.cronIf your host only offers web cron, use the address shown on the Connection tab (it contains a secret key; Create a new cron key replaces it).
Update
Section titled “Update”Upload the new package the same way. Settings, the connection and your synonyms are kept; the add-on repairs its own tables and language variables on the next admin page. Rebuild the index only when the release notes say so.
Uninstall
Section titled “Uninstall”Add-ons → Manage add-ons → Search Engine Pack → Uninstall removes the add-on’s settings, language variables and tables. The index in the engine is not touched: delete it there if you do not need it (its name starts with the prefix shown on the Connection tab).