Arrays
Edit pageSingle Array
Section titled “Single Array”Index single array
Section titled “Index single array”PUT /test/array_single/doc
{ "types": [ "A" ]}Get single array
Section titled “Get single array”GET /test/array_single/._schema.typesInfo single array
Section titled “Info single array”INFO /test/array_single/docSimple Array
Section titled “Simple Array”Index Array
Section titled “Index Array”PUT /test/array/doc
{ "types": [ "A", "B", "C", "D", "E", "F", "G", "H" ]}Get array
Section titled “Get array”GET /test/array/._schema.typesInfo array
Section titled “Info array”INFO /test/array/docArray of Array
Section titled “Array of Array”Index Array of Arrays
Section titled “Index Array of Arrays”PUT /test/array-of-array/doc
{ "types": [ [ "A", "B", "C", "D" ], [ "E", "F", "G", "H" ] ]}Get Array of Arrays
Section titled “Get Array of Arrays”GET /test/array-of-array/._schema.typesInfo Array of Arrays
Section titled “Info Array of Arrays”INFO /test/array-of-array/docArray of Array of Arrays
Section titled “Array of Array of Arrays”Index Array of Arrays of Arrays
Section titled “Index Array of Arrays of Arrays”PUT /test/array-of-arrays-of-arrays/doc
{ "types": [ [ [ "A", "B" ], [ "C", "D" ] ], [ [ "E", "F" ], [ "G", "H" ] ] ]}Get Array of Arrays of Arrays
Section titled “Get Array of Arrays of Arrays”GET /test/array-of-arrays-of-arrays/._schema.typesInfo Array of Arrays of Arrays
Section titled “Info Array of Arrays of Arrays”INFO /test/array-of-arrays-of-arrays/docArray Mixed With Text
Section titled “Array Mixed With Text”Index Arrays mixed with text
Section titled “Index Arrays mixed with text”PUT /test/arrays/doc
{ "types": [ "A", "B", [ "C", "D" ], [ "E", "F", [ "G", "H" ] ], "I", [ "J", [ "K", [ "L", [ "M", "N" ]] ] ] ]}Get Arrays mixed with text
Section titled “Get Arrays mixed with text”GET /test/arrays/._schema.typesInfo Arrays mixed with text
Section titled “Info Arrays mixed with text”INFO /test/arrays/docArray of Objects
Section titled “Array of Objects”Index Array of Objects
Section titled “Index Array of Objects”PUT /test/array_of_objects/doc
{ "types": [ { "property": "A", "number": 1 }, { "property": "B", "number": 2 }, { "property": "C", "number": 3 }, { "property": "D", "number": 4 }, { "property": "E", "number": 5 }, { "property": "F", "number": 6 }, { "property": "G", "number": 7 }, { "property": "H", "number": 8 } ]}Get Array of Objects
Section titled “Get Array of Objects”GET /test/array_of_objects/Info Array of Objects
Section titled “Info Array of Objects”INFO /test/array_of_objects/doc