Last active
February 17, 2020 08:24
-
-
Save ozzimpact/aae7c16b1499df9aba1f2d3ea830e8ad 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
/// Doc 1 | |
{ | |
"id": 1, | |
"field1": "value1", | |
"field2": "value2", | |
"arrayField": [ | |
{ | |
"complexSortField": 10, | |
"complexField": "complexValue" | |
}, | |
{ | |
"complexSortField": 1000, | |
"complexField": "complexValue2" | |
}, | |
{ | |
"complexSortField": 500, | |
"complexField": "complexValue3" | |
} | |
] | |
} | |
/// Doc 2 | |
{ | |
"id": 2, | |
"field1": "value1", | |
"field2": "value2", | |
"arrayField": [ | |
{ | |
"complexSortField": 1, | |
"complexField": "complexValue" | |
}, | |
{ | |
"complexSortField": 99999, | |
"complexField": "complexValue2" | |
}, | |
{ | |
"complexSortField": 100, | |
"complexField": "complexValue3" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment