Modified elasticsearch by adding categories and nodes. #6492

Add this in starting of tests