SearchPhaseExecutionException isn't in the namespace. elasticutils master tip is based on pyelasticsearch--not pyes. Pretty sure this is a pyes exception.