The not query has been replaced by using a must_not clause in a bool query (see Bool Query).
not
must_not
bool