Add elasticsearch backend and search api