parisholley / wordpress-fantastic-elasticsearch

Improve wordpress search performance/accuracy and enable faceted search by leveraging an ElasticSearch server.
MIT License
162 stars 64 forks source link

Allow users to set extra client options when needed (logging for example) #112

Closed peussen closed 9 years ago

peussen commented 9 years ago

I had/have some problems with getting my environment to work with elasticsearch, and one of the latest problems i had was that for some reason elastica returns that all shards have failed, while all shards are in fact green.

So I wanted to enable logging on elastica (i know this requires the psr/log package, but i handle this in my own composer.json). To do so now, would require changing the plugin, which i rather not, so I thought i'd submit this filter addition

parisholley commented 9 years ago

harmless enough!