Created
May 25, 2012 21:36
-
-
Save bryangreen/2790748 to your computer and use it in GitHub Desktop.
When using the "and" filter, "fields" not being recognized and all _source being returned.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"from": 0, | |
"size": 999, | |
"filter": { | |
"and": [ | |
{ | |
"term": { | |
"user_role_permission": "administrator" | |
} | |
} | |
], | |
"_cache": true | |
}, | |
"fields": "value" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment