Fixes bug 838747 - Made the list of indexes generation for elasticsearch configurable in the middleware. Fixed search.