Readding the enabling the allocation back to the elasticsearch module