You are two major versions behind what is released so this is all fairly historic to me. It looks like operator is inside of MatchQueryBuilder
in that version. So something like import org.elasticsearch.index.queryMatchQueryBuilder.Operator
is the way to go I think.