In the example we show an `exists` query inside a constant score query. While this is possible, it can mislead users to think it is necessary so we should remove it.
@@ -6,11 +6,7 @@ Returns documents that have at least one non-`null` value in the original field:
[source,js]
--------------------------------------------------
{
- "constant_score" : {
- "filter" : {
- "exists" : { "field" : "user" }
- }
+ "exists" : { "field" : "user" }
}