aparo/pyes — Issue #136: Allow thrift/http detection to be overridden
Author: klondike
Created: 2011-12-09 20:09:18+00:00
State: open

We run our ElasticSearch server on port 3145, over HTTP, and in order to use Pyes we have to modify the source code ourselves to remove the hard-coded check for whether the port starts with 92.

The init function should allow a keyword argument (perhaps "protocol") that, if provided with the value of "thrift" or "http", overrides the port detection.