The not query has been replaced by using a must_not clause in a bool query (see Boolean).
not
must_not
bool
Most Popular
Video
Get Started with Elasticsearch
Intro to Kibana
ELK for Logs & Metrics