NOTE: You are looking at documentation for an older release. For the latest information, see the current release documentation.
Geo Shape Line String Query Usage
editGeo Shape Line String Query Usage
editFluent DSL example
editq .GeoShapeLineString(c => c .Name("named_query") .Boost(1.1) .Field(p => p.LocationShape) .Coordinates(LineStringCoordinates) .Relation(GeoShapeRelation.Intersects) )
Object Initializer syntax example
editnew GeoShapeLineStringQuery { Name = "named_query", Boost = 1.1, Field = Field<Project>(p => p.LocationShape), Shape = new LineStringGeoShape(LineStringCoordinates), Relation = GeoShapeRelation.Intersects, }