NOTE: You are looking at documentation for an older release. For the latest information, see the current release documentation.
Geo Shape Multi Line String Query Usageedit
Fluent DSL exampleedit
q .GeoShapeMultiLineString(c => c .Name("named_query") .Boost(1.1) .Field(p => p.LocationShape) .Coordinates(MultiLineStringCoordinates) .Relation(GeoShapeRelation.Intersects) )
Object Initializer syntax exampleedit
new GeoShapeMultiLineStringQuery { Name = "named_query", Boost = 1.1, Field = Field<Project>(p => p.LocationShape), Shape = new MultiLineStringGeoShape(MultiLineStringCoordinates), Relation = GeoShapeRelation.Intersects, }