Geo Shape Line String Query Usageedit

Fluent DSL exampleedit

q
.GeoShapeLineString(c => c
    .Name("named_query")
    .Boost(1.1)
    .Field(p => p.LocationShape)
    .Coordinates(LineStringCoordinates)
    .Relation(GeoShapeRelation.Intersects)
)

Object Initializer syntax exampleedit

new GeoShapeLineStringQuery
{
    Name = "named_query",
    Boost = 1.1,
    Field = Field<Project>(p => p.LocationShape),
    Shape = new LineStringGeoShape(LineStringCoordinates),
    Relation = GeoShapeRelation.Intersects,
}