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 Usage
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Geo Shape Multi Line String Query Usage
editFluent DSL example
editq
.GeoShapeMultiLineString(c => c
.Name("named_query")
.Boost(1.1)
.Field(p => p.LocationShape)
.Coordinates(MultiLineStringCoordinates)
.Relation(GeoShapeRelation.Intersects)
)
Object Initializer syntax example
editnew GeoShapeMultiLineStringQuery
{
Name = "named_query",
Boost = 1.1,
Field = Field<Project>(p => p.LocationShape),
Shape = new MultiLineStringGeoShape(MultiLineStringCoordinates),
Relation = GeoShapeRelation.Intersects,
}