Download the PHP package sl0wik/laravel-scout-elasticsearch-driver without Composer
On this page you can find all versions of the php package sl0wik/laravel-scout-elasticsearch-driver. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sl0wik/laravel-scout-elasticsearch-driver
More information about sl0wik/laravel-scout-elasticsearch-driver
Files in sl0wik/laravel-scout-elasticsearch-driver
Package laravel-scout-elasticsearch-driver
Short Description Elasticsearch Driver for Laravel Scout with multi-index support.
License MIT
Informations about the package laravel-scout-elasticsearch-driver
Laravel Scout Elasticsearch Driver
This is the Elasticsearch driver for Laravel Scout with multiple indexes support.
Package is based on tamayo/laravel-scout-elastic, and created to replace depeceated types, with Index per document type solution.
Contents
- Installation
- Migration
- Usage
- Credits
- License
Installation
Add the Scout service provider and the package service provider in your app.php config:
Setting up Elasticsearch configuration
After you've published the Laravel Scout package configuration update config/scout.php:
Migration
If you are migrating from ErickTamayo/laravel-scout-elastic, keep in mind that instead of config('scout.elasticsearch.index')
this package is using searchableAs()
method to get index name. By default it will return model config('scout.prefix').$this->getTable();
. Your new data will be stored under different indexes so you will need to reindex everything.
Usage
Now you can use Laravel Scout as described in the official documentation
Credits
License
The MIT License (MIT).
All versions of laravel-scout-elasticsearch-driver with dependencies
laravel/scout Version ^3.0|^4.0
elasticsearch/elasticsearch Version ^5.0