PHP code example of delaneymethod / craft-meilisearch-editor
1. Go to this page and download the library: Download delaneymethod/craft-meilisearch-editor library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
delaneymethod / craft-meilisearch-editor example snippets
bash
cd /path/to/project
composer bash
php craft meilisearch-editor/index/delete --handle=my-index --dryRun=0 // Deletes index.
php craft meilisearch-editor/index/flush --handle=my-index --dryRun=0 // Flushes index documents.
php craft meilisearch-editor/index/reindex --handle=my-index --dryRun=0 // Rebuilds index.