
cts.geospatialRegionQueryWeight( query as cts.geospatialRegionQuery ) as Number
Returns the weight specified when constructing the input query.
| Parameters | |
|---|---|
| query | A geospatial region path query. |
cts.geospatialRegionQueryWeight(
cts.geospatialRegionQuery(
cts.geospatialRegionPathReference('//item/region'),
'contains', cts.box(10, 20, 30, 40), [], 2.0)
)
=> 2.0
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.