How To Setup Elasticsearch With Laravel 5

Submitted by azazqadir - 10 months ago

A quick guide on how to setup Elasticsearch with Laravel 5. A completely optimized experience for fast Laravel app and search. https://www.cloudways.com/blog/setup-elasticsearch-with-laravel-5/


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
object(Elasticsearch\Client)[163]
  public 'transport' => 
    object(Elasticsearch\Transport)[161]
      public 'connectionPool' => 
        object(Elasticsearch\ConnectionPool\StaticNoPingConnectionPool)[160]
          private 'pingTimeout' => int 60
          private 'maxPingTimeout' => int 3600
          protected 'connections' => 
            array (size=1)
              ...
          protected 'seedConnections' => 
            array (size=1)
              ...
          protected 'selector' => 
            object(Elasticsearch\ConnectionPool\Selectors\RoundRobinSelector)[157]
              ...
          protected 'connectionFactory' => 
            object(Elasticsearch\Connections\ConnectionFactory)[156]
              ...
          public 'connectionPoolParams' => 
            array (size=1)
comments powered by Disqus

Ads cover the costs of maintaining Laravel-tricks