larasearch
larasearch copied to clipboard
Searchable Eloquent Models
I am using Laravel 5.2. Today, I need to use ElasticSearch to do full text search. After I required the larasearch, the artisan don't work because in `LarasearchServiceProvider::boot`, `$this->package` method...
Hi I guess it has to be somewhere within the $__es_config, but how? Is it also here I would choose to only index specific fields, and how to do that?...
``` ssh [ErrorException] Argument 2 passed to Illuminate\Foundation\Application::make() must be of the type array, object given, called in /home/vagrant/code/g2anime/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php on line 213 and de fined ``` I encountered this error...
Updated Proxy binding to match syntax of other bindings. Using `['model' => $instance]` as `App::make()` requires 2nd argument to be an array and an object is given. This PR keeps...
On laravel 5, when running queue:listen [ReflectionException] Class Iverberk\Larasearch\Config does not exist
I add the ``` php use \Iverberk\Larasearch\Traits\SearchableTrait; ``` on my Product model. Then I do a ``` php $product= new Product(['title'=>'Amazing']); $product->save(); ``` Then I try to search via :...
Issue when ->delete()ing on models. A quick side note, it might be nicer to use ``` php $this->app = $app; $this->config = $app->config; ``` for dependancy injection. If you agree,...
Hi! I have two Eloquent models Eventdate and Event: ``` class EventDate { use SearchableTrait; public static $__es_config = [ 'suggest' => ['event.name', 'event.excerpt', 'event.description'] ]; public function event() {...
Hello, it would be nice to write in `README.md` and `config.php` how analyzers configuration (name implementation) works. Namely, that analyzers listed with a short name in `config.php`'s `elasticsearch.analyzers` array, have...
Hello, I'm having an issue where I have a record `Assassin's Creed: Unity` in the index and can search for it properly using `unity` or `assassin's` or `creed` but if...