{
  "spec": "spec/v1/spec.md",
  "files": [
    {
      "file": "places.glx",
      "file_bytes": 1847,
      "file_header": {
        "magic": "GLX0",
        "version": 1,
        "parts": [
          {
            "kind": "SRCH",
            "offset": 256,
            "length": 1591,
            "checksum": "ffdc206d84176e3b"
          }
        ]
      },
      "header": {
        "kind": "SRCH",
        "documents": 8,
        "average_field_length": 4.375,
        "importance_weight": 10.0,
        "features": 131071,
        "sections": [
          {
            "section": "term_index",
            "offset": 256,
            "length": 8
          },
          {
            "section": "spatial_directory",
            "offset": 264,
            "length": 24
          },
          {
            "section": "document_index",
            "offset": 288,
            "length": 18
          },
          {
            "section": "chunks",
            "offset": 306,
            "length": 5
          },
          {
            "section": "dictionary",
            "offset": 343,
            "length": 615
          },
          {
            "section": "postings",
            "offset": 958,
            "length": 0
          },
          {
            "section": "documents",
            "offset": 958,
            "length": 404
          },
          {
            "section": "spatial",
            "offset": 1362,
            "length": 116
          },
          {
            "section": "id_directory",
            "offset": 311,
            "length": 16
          },
          {
            "section": "ids",
            "offset": 1478,
            "length": 78
          },
          {
            "section": "shape_directory",
            "offset": 327,
            "length": 16
          },
          {
            "section": "shapes",
            "offset": 1556,
            "length": 35
          },
          {
            "section": "record_dictionary",
            "offset": 343,
            "length": 0
          }
        ]
      },
      "dictionary_blocks": 1,
      "first_term": "\u0001ca",
      "document_blocks": 1,
      "first_block": {
        "records": 8,
        "first_records": [
          {
            "id": "101",
            "lon_microdegrees": 77229500,
            "lat_microdegrees": 28612900,
            "name": "India Gate",
            "layer": "venue"
          },
          {
            "id": "102",
            "lon_microdegrees": 73855300,
            "lat_microdegrees": 18519500,
            "name": "Shaniwar Wada",
            "layer": "venue"
          },
          {
            "id": "103",
            "lon_microdegrees": 73856700,
            "lat_microdegrees": 18518000,
            "name": "Shaniwar Peth",
            "layer": "locality"
          },
          {
            "id": "-7",
            "lon_microdegrees": 73879000,
            "lat_microdegrees": 18517000,
            "name": "7 MG Road",
            "layer": "address"
          },
          {
            "id": "104",
            "lon_microdegrees": 73841400,
            "lat_microdegrees": 18517800,
            "name": "Cafe Goodluck",
            "layer": "venue"
          },
          {
            "id": "105",
            "lon_microdegrees": 77219700,
            "lat_microdegrees": 28631500,
            "name": "Cafe Coffee Day",
            "layer": "venue"
          },
          {
            "id": "106",
            "lon_microdegrees": 72834700,
            "lat_microdegrees": 18922000,
            "name": "Gateway of India",
            "layer": "venue"
          },
          {
            "id": "9007199254740993",
            "lon_microdegrees": 2294500,
            "lat_microdegrees": 48858400,
            "name": "Eiffel Tower",
            "layer": "venue"
          }
        ]
      },
      "queries": [
        {
          "kind": "search",
          "text": "india gate",
          "size": 1,
          "ids": [
            "101"
          ]
        },
        {
          "kind": "search",
          "text": "tour eiffel",
          "size": 1,
          "ids": [
            "9007199254740993"
          ]
        },
        {
          "kind": "autocomplete",
          "text": "gatew",
          "size": 1,
          "ids": [
            "106"
          ]
        },
        {
          "kind": "autocomplete",
          "text": "cafe good",
          "size": 1,
          "ids": [
            "104"
          ]
        },
        {
          "kind": "reverse",
          "lon": 73.856,
          "lat": 18.519,
          "radius_km": 5.0,
          "size": 4,
          "ids": [
            "102",
            "103",
            "104",
            "-7"
          ]
        },
        {
          "kind": "place",
          "ids": [
            "-7",
            "101"
          ]
        },
        {
          "kind": "place",
          "ids": [
            "9007199254740993"
          ],
          "shape_points": 5
        }
      ]
    },
    {
      "file": "places-optional-off.glx",
      "file_bytes": 1942,
      "file_header": {
        "magic": "GLX0",
        "version": 1,
        "parts": [
          {
            "kind": "SRCH",
            "offset": 256,
            "length": 1686,
            "checksum": "65becfcb9ca7cfab"
          }
        ]
      },
      "header": {
        "kind": "SRCH",
        "documents": 8,
        "average_field_length": 4.375,
        "importance_weight": 10.0,
        "features": 32767,
        "sections": [
          {
            "section": "term_index",
            "offset": 256,
            "length": 8
          },
          {
            "section": "spatial_directory",
            "offset": 264,
            "length": 24
          },
          {
            "section": "document_index",
            "offset": 288,
            "length": 16
          },
          {
            "section": "chunks",
            "offset": 304,
            "length": 5
          },
          {
            "section": "dictionary",
            "offset": 341,
            "length": 712
          },
          {
            "section": "postings",
            "offset": 1053,
            "length": 0
          },
          {
            "section": "documents",
            "offset": 1053,
            "length": 404
          },
          {
            "section": "spatial",
            "offset": 1457,
            "length": 116
          },
          {
            "section": "id_directory",
            "offset": 309,
            "length": 16
          },
          {
            "section": "ids",
            "offset": 1573,
            "length": 78
          },
          {
            "section": "shape_directory",
            "offset": 325,
            "length": 16
          },
          {
            "section": "shapes",
            "offset": 1651,
            "length": 35
          },
          {
            "section": "record_dictionary",
            "offset": 341,
            "length": 0
          }
        ]
      },
      "dictionary_blocks": 1,
      "first_term": "\u0001ca",
      "document_blocks": 1,
      "first_block": {
        "records": 8,
        "first_records": [
          {
            "id": "101",
            "lon_microdegrees": 77229500,
            "lat_microdegrees": 28612900,
            "name": "India Gate",
            "layer": "venue"
          },
          {
            "id": "102",
            "lon_microdegrees": 73855300,
            "lat_microdegrees": 18519500,
            "name": "Shaniwar Wada",
            "layer": "venue"
          },
          {
            "id": "103",
            "lon_microdegrees": 73856700,
            "lat_microdegrees": 18518000,
            "name": "Shaniwar Peth",
            "layer": "locality"
          },
          {
            "id": "-7",
            "lon_microdegrees": 73879000,
            "lat_microdegrees": 18517000,
            "name": "7 MG Road",
            "layer": "address"
          },
          {
            "id": "104",
            "lon_microdegrees": 73841400,
            "lat_microdegrees": 18517800,
            "name": "Cafe Goodluck",
            "layer": "venue"
          },
          {
            "id": "105",
            "lon_microdegrees": 77219700,
            "lat_microdegrees": 28631500,
            "name": "Cafe Coffee Day",
            "layer": "venue"
          },
          {
            "id": "106",
            "lon_microdegrees": 72834700,
            "lat_microdegrees": 18922000,
            "name": "Gateway of India",
            "layer": "venue"
          },
          {
            "id": "9007199254740993",
            "lon_microdegrees": 2294500,
            "lat_microdegrees": 48858400,
            "name": "Eiffel Tower",
            "layer": "venue"
          }
        ]
      },
      "queries": [
        {
          "kind": "search",
          "text": "india gate",
          "size": 1,
          "ids": [
            "101"
          ]
        },
        {
          "kind": "search",
          "text": "tour eiffel",
          "size": 1,
          "ids": [
            "9007199254740993"
          ]
        },
        {
          "kind": "autocomplete",
          "text": "gatew",
          "size": 1,
          "ids": [
            "106"
          ]
        },
        {
          "kind": "autocomplete",
          "text": "cafe good",
          "size": 1,
          "ids": [
            "104"
          ]
        },
        {
          "kind": "reverse",
          "lon": 73.856,
          "lat": 18.519,
          "radius_km": 5.0,
          "size": 4,
          "ids": [
            "102",
            "103",
            "104",
            "-7"
          ]
        },
        {
          "kind": "place",
          "ids": [
            "-7",
            "101"
          ]
        },
        {
          "kind": "place",
          "ids": [
            "9007199254740993"
          ],
          "shape_points": 5
        }
      ]
    },
    {
      "file": "streets.glx",
      "file_bytes": 109228,
      "file_header": {
        "magic": "GLX0",
        "version": 1,
        "parts": [
          {
            "kind": "SRCH",
            "offset": 256,
            "length": 108972,
            "checksum": "eac7c9515cdc1d7c"
          }
        ]
      },
      "header": {
        "kind": "SRCH",
        "documents": 2800,
        "average_field_length": 5.25,
        "importance_weight": 10.0,
        "features": 131071,
        "sections": [
          {
            "section": "term_index",
            "offset": 256,
            "length": 86
          },
          {
            "section": "spatial_directory",
            "offset": 342,
            "length": 24
          },
          {
            "section": "document_index",
            "offset": 366,
            "length": 38
          },
          {
            "section": "chunks",
            "offset": 404,
            "length": 15
          },
          {
            "section": "dictionary",
            "offset": 85631,
            "length": 5353
          },
          {
            "section": "postings",
            "offset": 90984,
            "length": 478
          },
          {
            "section": "documents",
            "offset": 91462,
            "length": 6426
          },
          {
            "section": "spatial",
            "offset": 97888,
            "length": 802
          },
          {
            "section": "id_directory",
            "offset": 419,
            "length": 16
          },
          {
            "section": "ids",
            "offset": 98690,
            "length": 10282
          },
          {
            "section": "shape_directory",
            "offset": 435,
            "length": 0
          },
          {
            "section": "shapes",
            "offset": 108972,
            "length": 0
          },
          {
            "section": "record_dictionary",
            "offset": 435,
            "length": 85196
          }
        ]
      },
      "dictionary_blocks": 10,
      "first_term": "\u000110",
      "document_blocks": 11,
      "first_block": {
        "records": 256,
        "first_records": [
          {
            "id": "1",
            "lon_microdegrees": 76000100,
            "lat_microdegrees": 10000000,
            "name": "1 Station Road",
            "layer": "address"
          },
          {
            "id": "2",
            "lon_microdegrees": 76000200,
            "lat_microdegrees": 10000000,
            "name": "2 Station Road",
            "layer": "address"
          },
          {
            "id": "3",
            "lon_microdegrees": 76000300,
            "lat_microdegrees": 10000000,
            "name": "3 Station Road",
            "layer": "address"
          },
          {
            "id": "4",
            "lon_microdegrees": 76000400,
            "lat_microdegrees": 10000000,
            "name": "4 Station Road",
            "layer": "address"
          },
          {
            "id": "5",
            "lon_microdegrees": 76000500,
            "lat_microdegrees": 10000000,
            "name": "5 Station Road",
            "layer": "address"
          },
          {
            "id": "6",
            "lon_microdegrees": 76000600,
            "lat_microdegrees": 10000000,
            "name": "6 Station Road",
            "layer": "address"
          },
          {
            "id": "7",
            "lon_microdegrees": 76000700,
            "lat_microdegrees": 10000000,
            "name": "7 Station Road",
            "layer": "address"
          },
          {
            "id": "8",
            "lon_microdegrees": 76000800,
            "lat_microdegrees": 10000000,
            "name": "8 Station Road",
            "layer": "address"
          }
        ]
      },
      "queries": [
        {
          "kind": "search",
          "text": "12 mill road",
          "size": 1,
          "ids": [
            "2112"
          ]
        },
        {
          "kind": "autocomplete",
          "text": "345 lake vi",
          "size": 1,
          "ids": [
            "1745"
          ]
        },
        {
          "kind": "reverse",
          "lon": 76.00502,
          "lat": 10.01,
          "radius_km": 1.0,
          "size": 2,
          "ids": [
            "750",
            "751"
          ]
        },
        {
          "kind": "place",
          "ids": [
            "2800",
            "1"
          ]
        }
      ]
    }
  ]
}
