SHOW:
|
|
- or go back to the newest paste.
1 | POST users/user/_search | |
2 | { | |
3 | "query": { | |
4 | "filtered" : { | |
5 | "filter" : { | |
6 | "term": { | |
7 | "email": "very.simplemail.a@gmail.com" | |
8 | } | |
9 | } | |
10 | } | |
11 | } | |
12 | } | |
13 | ||
14 | ||
15 | the doc: | |
16 | { | |
17 | "_index": "users", | |
18 | "_type": "user", | |
19 | "_id": "AU4mjbm3x1kxwO87TEnO", | |
20 | "_version": 1, | |
21 | "found": true, | |
22 | "_source": { | |
23 | "email": "very.simplemail.a@gmail.com", | |
24 | "password": "aaaabbbCC123@@", | |
25 | "is_activated": false | |
26 | } | |
27 | } |