2017 © Pedro Peláez
 

library laravel-scout-elasticsearch

Elasticsearch Driver for Laravel Scout

image

lucadello91/laravel-scout-elasticsearch

Elasticsearch Driver for Laravel Scout

  • Wednesday, July 11, 2018
  • by lucadello91
  • Repository
  • 0 Watchers
  • 0 Stars
  • 83 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 6 Versions
  • 26 % Grown

The README.md

Laravel Scout Elasticsearch Driver

Software License Packagist Version Total Downloads, (*1)

This package makes is the Elasticsearch 6 driver for Laravel Scout 4., (*2)

Contents

Installation

You can install the package via composer:, (*3)

``` bash composer require lucadello91/laravel-scout-elasticsearch, (*4)


If you use laravel <5.5, you must add the Scout service provider and the Elasticsearch service provider in your app.php config: ```php // config/app.php 'providers' => [ ... Laravel\Scout\ScoutServiceProvider::class, ScoutEngines\Elasticsearch\ElasticsearchProvider::class, ],

Setting up Elasticsearch configuration

You must have a Elasticsearch server up and running. The package automatically create the index if it not exist, (*5)

If you need help with this please refer to the Elasticsearch documentation, (*6)

After you've published the Laravel Scout package configuration:, (*7)

// config/scout.php
// Set your driver to elasticsearch
    'driver' => env('SCOUT_DRIVER', 'elasticsearch'),

...
    'elasticsearch' => [
        'index' => env('ELASTICSEARCH_INDEX', 'laravel'),
        'hosts' => [
            env('ELASTICSEARCH_HOST', 'http://localhost'),
        ],
        'max_result_window' => '200000'
    ],
...

Usage

Now you can use Laravel Scout as described in the official documentation, (*8)

Credits

License

The MIT License (MIT)., (*9)

The Versions

11/07 2018

dev-master

9999999-dev

Elasticsearch Driver for Laravel Scout

  Sources   Download

The Requires

 

The Development Requires

laravel elasticsearch elastic scout

02/05 2018

dev-develop

dev-develop

Elasticsearch Driver for Laravel Scout

  Sources   Download

The Requires

 

The Development Requires

laravel elasticsearch elastic scout

19/02 2018

v0.1.3

0.1.3.0

Elasticsearch Driver for Laravel Scout

  Sources   Download

The Requires

 

The Development Requires

laravel elasticsearch elastic scout

17/02 2018

v0.1.2

0.1.2.0

Elasticsearch Driver for Laravel Scout

  Sources   Download

The Requires

 

The Development Requires

laravel elasticsearch elastic scout

17/02 2018

v0.1.1

0.1.1.0

Elasticsearch Driver for Laravel Scout

  Sources   Download

The Requires

 

The Development Requires

laravel elasticsearch elastic scout

17/02 2018

v0.1.0

0.1.0.0

Elasticsearch Driver for Laravel Scout

  Sources   Download

The Requires

 

The Development Requires

laravel elasticsearch elastic scout