mmanos / laravel-search

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

Delete index doesn't delete #10

Closed t2thec closed 8 years ago

t2thec commented 10 years ago

Hey,

Firstly, thanks for this package - Awesome.

I have created a few indexes and in an attempt to build the management side of things, I have found that I can't delete an individual index: Search::index('users')->deleteIndex();

If I then search for a result, it seems the index still exists. If I then: curl -XDELETE 'http://localhost:9200/users/' And repeat the search, the index has been deleted.

In this case I am using ElasticSearch.

I'll take a look to see if I can figure out what is going wrong here. In the meantime, if you can point me in the right direction, that would be awesome.

Cheers.

dmyers commented 8 years ago

Which version of Laravel & ElasticSearch client are you using?

t2thec commented 8 years ago

Sorry dude. I forgot all about this. I'm no longer using the package. Thanks for getting back.