Last active
June 17, 2016 14:29
-
-
Save shiladitya-bits/b02f2c9fb38ceef03978eb483bcacd53 to your computer and use it in GitHub Desktop.
This file contains 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
##sample mapping | |
{houses:{properties:{house_type:{type:'string',index: 'not_analyzed'}}}} | |
##sample document | |
{id:1, house_type:'apartment'} | |
{ | |
"filter": { | |
"bool": { | |
"must": [ | |
{ | |
"term": { | |
"house_type": "apartment" | |
} | |
} | |
] | |
} | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment