added elasticsearch index in create action in controller