Geo Line String Usageedit
Fluent DSL Exampleedit
q
.GeoShapeLineString(c => c
.Name("named_query")
.Boost(1.1)
.Field(p=>p.Location)
.Coordinates(this._coordinates)
.Relation(GeoShapeRelation.Intersects)
.IgnoreUnmapped()
)Object Initializer Syntax Exampleedit
new GeoShapeLineStringQuery
{
Name = "named_query",
Boost = 1.1,
Field = Field<Project>(p=>p.Location),
Shape = new LineStringGeoShape(this._coordinates),
Relation = GeoShapeRelation.Intersects,
IgnoreUnmapped = false
}