Modified elasticsearch by adding categories and nodes. #6492

not used in this method,