mmanos / laravel-search

A search package for Laravel 5.
MIT License
352 stars 59 forks source link

Call to undefined method Mmanos\Search\Search::insert() #45

Open kevosomi opened 8 years ago

kevosomi commented 8 years ago

Hello, thank you for the package. Please guide me on how to index my Models with this package and output the results. When trying to run it, I am getting the following errors

Whoops, looks like something went wrong.

1/1 FatalErrorException in API.php line 118: Call to undefined method Mmanos\Search\Search::insert() ```

```
lucgiffon commented 8 years ago

+1

joshharington commented 8 years ago

bump

dmyers commented 8 years ago

Can you try the latest release (v1.0.3)? I can't reproduce with Laravel 5.1.

What version of Laravel are you using? Have you installed the appropriate driver that the config is set to?

hazzo commented 8 years ago

Run into this issue too, I do not know what I am doing wrong. This are my dependencies.

"require": {
     ...
    "mmanos/laravel-search": "dev-master"
},
"require-dev": {
     ...
    "zendframework/zendsearch": "dev-master",
    "elasticsearch/elasticsearch": "1.0.*@dev",
    "algolia/algoliasearch-client-php": "1.1.*"
},

My Facade: 'Search' => Mmanos\Search\Facade::class, My Provider: Mmanos\Search\SearchServiceProvider::class,

Copoet commented 6 years ago

+1