ncolomer / elasticsearch-osmosis-plugin

An Osmosis plugin that index OpenStreetMap data into elasticsearch
Apache License 2.0
101 stars 34 forks source link

Add numbers of shards and replica as parameters for index #8

Closed apavillet closed 11 years ago

apavillet commented 11 years ago

I believe it's not currently possible to pass parameters such as the number of shards / replica for the created index ( http://www.elasticsearch.org/guide/reference/api/admin-indices-create-index.html ).

Changing this parameter can sometimes helps with performance.

Thanks

apavillet commented 11 years ago

Note that this can be achieved by creating first the mapping in ES then importing the data, so this feature is not blocking but would be pretty handy.

ncolomer commented 11 years ago

Right and actually, this feature is already implemented on the perfs branch (well not pushed yet but already there!). Planned for the next release - end of the weekend if all goes well :)