// This file is autogenerated, DO NOT EDIT
// mapping/types/geo-shape.asciidoc:207

[source, python]
----
resp = client.index(
    index="example",
    document={
        "location": "LINESTRING (-77.03653 38.897676, -77.009051 38.889939)"
    },
)
print(resp)
----
