Mark filtered query example as not to be used (#25661)
Mark filtered query example as not to be used (#25661)

The Filtered Query has been deprecated in favour of the Bool Query with a filter context. However, this deleted page for the Filtered Query is often ranked highly in search results when searching for documentation on "filtered queries". Often people just copy the first code snippet they see, which in this case is the INCORRECT syntax (the correct syntax follows). I think reordering the examples would help avoid a lot of confusion (I have seen people make this same mistake 3 times now)

Adding a comment to indicate that the first example shouldn't be used
Stacey-Gammon/elasticsearch,ThiagoGarciaAlves/elasticsearch,scorpionvicky/elasticsearch,shreejay/elasticsearch,mjason3/elasticsearch,Stacey-Gammon/elasticsearch,ThiagoGarciaAlves/elasticsearch,wenpos/elasticsearch,kalimatas/elasticsearch,jimczi/elasticsearch,mjason3/elasticsearch,shreejay/elasticsearch,robin13/elasticsearch,Stacey-Gammon/elasticsearch,fred84/elasticsearch,masaruh/elasticsearch,vroyer/elasticassandra,vroyer/elasticassandra,strapdata/elassandra,gingerwizard/elasticsearch,gingerwizard/elasticsearch,markwalkom/elasticsearch,markwalkom/elasticsearch,lks21c/elasticsearch,qwerty4030/elasticsearch,robin13/elasticsearch,lks21c/elasticsearch,rajanm/elasticsearch,rajanm/elasticsearch,jimczi/elasticsearch,kalimatas/elasticsearch,qwerty4030/elasticsearch,maddin2016/elasticsearch,vroyer/elassandra,mohit/elasticsearch,markwalkom/elasticsearch,scottsom/elasticsearch,fred84/elasticsearch,masaruh/elasticsearch,sneivandt/elasticsearch,pozhidaevak/elasticsearch,mohit/elasticsearch,Stacey-Gammon/elasticsearch,lks21c/elasticsearch,scorpionvicky/elasticsearch,gingerwizard/elasticsearch,fred84/elasticsearch,sneivandt/elasticsearch,s1monw/elasticsearch,markwalkom/elasticsearch,uschindler/elasticsearch,mohit/elasticsearch,s1monw/elasticsearch,qwerty4030/elasticsearch,maddin2016/elasticsearch,uschindler/elasticsearch,wenpos/elasticsearch,jimczi/elasticsearch,lks21c/elasticsearch,gingerwizard/elasticsearch,mjason3/elasticsearch,umeshdangat/elasticsearch,wangtuo/elasticsearch,rajanm/elasticsearch,maddin2016/elasticsearch,GlenRSmith/elasticsearch,coding0011/elasticsearch,qwerty4030/elasticsearch,nknize/elasticsearch,markwalkom/elasticsearch,wenpos/elasticsearch,uschindler/elasticsearch,fred84/elasticsearch,gfyoung/elasticsearch,HonzaKral/elasticsearch,nknize/elasticsearch,pozhidaevak/elasticsearch,rajanm/elasticsearch,robin13/elasticsearch,sneivandt/elasticsearch,mjason3/elasticsearch,mohit/elasticsearch,jimczi/elasticsearch,umeshdangat/elasticsearch,nknize/elasticsearch,sneivandt/elasticsearch,uschindler/elasticsearch,wenpos/elasticsearch,vroyer/elassandra,strapdata/elassandra,jimczi/elasticsearch,HonzaKral/elasticsearch,coding0011/elasticsearch,rajanm/elasticsearch,wangtuo/elasticsearch,gfyoung/elasticsearch,HonzaKral/elasticsearch,shreejay/elasticsearch,GlenRSmith/elasticsearch,coding0011/elasticsearch,markwalkom/elasticsearch,pozhidaevak/elasticsearch,brandonkearby/elasticsearch,wenpos/elasticsearch,kalimatas/elasticsearch,sneivandt/elasticsearch,nknize/elasticsearch,maddin2016/elasticsearch,umeshdangat/elasticsearch,uschindler/elasticsearch,coding0011/elasticsearch,umeshdangat/elasticsearch,brandonkearby/elasticsearch,ThiagoGarciaAlves/elasticsearch,brandonkearby/elasticsearch,GlenRSmith/elasticsearch,gingerwizard/elasticsearch,ThiagoGarciaAlves/elasticsearch,vroyer/elassandra,ThiagoGarciaAlves/elasticsearch,wangtuo/elasticsearch,pozhidaevak/elasticsearch,wangtuo/elasticsearch,vroyer/elasticassandra,masaruh/elasticsearch,brandonkearby/elasticsearch,nknize/elasticsearch,fred84/elasticsearch,scorpionvicky/elasticsearch,GlenRSmith/elasticsearch,scottsom/elasticsearch,strapdata/elassandra,kalimatas/elasticsearch,scottsom/elasticsearch,gingerwizard/elasticsearch,mjason3/elasticsearch,gingerwizard/elasticsearch,coding0011/elasticsearch,umeshdangat/elasticsearch,shreejay/elasticsearch,gfyoung/elasticsearch,s1monw/elasticsearch,rajanm/elasticsearch,s1monw/elasticsearch,strapdata/elassandra,mohit/elasticsearch,Stacey-Gammon/elasticsearch,scottsom/elasticsearch,s1monw/elasticsearch,GlenRSmith/elasticsearch,masaruh/elasticsearch,scorpionvicky/elasticsearch,robin13/elasticsearch,ThiagoGarciaAlves/elasticsearch,scorpionvicky/elasticsearch,strapdata/elassandra,maddin2016/elasticsearch,gfyoung/elasticsearch,lks21c/elasticsearch,kalimatas/elasticsearch,robin13/elasticsearch,gfyoung/elasticsearch,masaruh/elasticsearch,HonzaKral/elasticsearch,wangtuo/elasticsearch,scottsom/elasticsearch,pozhidaevak/elasticsearch,brandonkearby/elasticsearch,qwerty4030/elasticsearch,shreejay/elasticsearch