Download the PHP package bimthebam/silverstripe-meilisearch without Composer
On this page you can find all versions of the php package bimthebam/silverstripe-meilisearch. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bimthebam/silverstripe-meilisearch
More information about bimthebam/silverstripe-meilisearch
Files in bimthebam/silverstripe-meilisearch
Package silverstripe-meilisearch
Short Description Easily integrate meilisearch into SilverStripe
License BSD-3-Clause
Informations about the package silverstripe-meilisearch
SilverStripe meilisearch module
Intro
This module adds support for connecting with meilisearch as (multi-lingual) full-text search engine.
An open-source, lightning-fast, and hyper-relevant search engine that fits effortlessly into your workflow.
Requirements
- SilverStripe 4.x and 5.x
- PHP 8.1
- meilisearch 1.3 - self hosted\ (due to missing supoprt for authorization keys.)
Supports
Installation
composer require bimthebam/silverstripe-meilisearch ^1.0
Configuration
This module requires a single environment variable to be defined: MEILISEARCH_HOST_AND_PORT
e.g. MEILISEARCH_HOST_AND_PORT=http://your-meilisearch-host:7700
Usage
Initialization
Run the buit-in task RebuildAllIndexesTask, which will create all the needed indexes within your meilisearch instance and fills them up with contents.
Although not neccessary, it is suggested to run the task from CLI.
e.g. sake dev/tasks/meilisearch-rebuild-all-indexes
Search
This module comes with a pre-defined index for SiteTree. So searching in page contents should mostly work out of the box.
To start, simply add a new page of type SearchPage to your site tree.
Custom indexes
Documentation incomplete
ToDo
- [ ] Add support for authentication keys
- [ ] Complete documentation for custom indexes
All versions of silverstripe-meilisearch with dependencies
composer/installers Version *
guzzlehttp/guzzle Version ^7
http-interop/http-factory-guzzle Version ^1
meilisearch/meilisearch-php Version ^1.3
ramsey/uuid Version ^4.0
silverstripe/framework Version ^4.0