Skip to content

Instantly share code, notes, and snippets.

@madpink
Created August 25, 2017 11:12
Show Gist options
  • Save madpink/8e8f8a14f3c7bd92207d6c74b4e5451b to your computer and use it in GitHub Desktop.
Save madpink/8e8f8a14f3c7bd92207d6c74b4e5451b to your computer and use it in GitHub Desktop.
JSON Filter sample
{
"docs": [
{
"_id": "x01",
"somevalue": 123,
"filterme": "a"
},
{
"_id": "x02",
"somevalue": 234,
"filterme": "a"
},
{
"_id": "x03",
"somevalue": 345,
"filterme": "a"
},
{
"_id": "x04",
"somevalue": 456,
"filterme": "a"
},
{
"_id": "x05",
"somevalue": 567,
"filterme": "a"
},
{
"_id": "x06",
"somevalue": 678,
"filterme": "b"
},
{
"_id": "x07",
"somevalue": 789,
"filterme": "b"
},
{
"_id": "x08",
"somevalue": 890,
"filterme": "b"
},
{
"_id": "x09",
"somevalue": 1234,
"filterme": "b"
},
{
"_id": "x10",
"somevalue": 2345,
"filterme": "b"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment