除非在创建后更新,否则无法在创建具有GeoSpatial Point的文档后查询该文档

编程入门 行业动态 更新时间:2024-10-11 17:22:44
本文介绍了除非在创建后更新,否则无法在创建具有GeoSpatial Point的文档后查询该文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我创建的集合如下:

创建的文档如下所示:

{

解决方案

嗨罗宾,

您是否可以查看以下文档以确保设置了空间索引,如果不设置,则应将以下属性标头设置为true: x-ms-documentdb-query-enable-scan

查询空间类型

我希望这些信息有所帮助,如果您仍然遇到问题,请继续对话。

问候,

Mike

I have a collection created like:

The created document looks like:

{

解决方案

Hi Robin,

Can you take a look at the following documentation to ensure that you have a spatial index set, and if you do not then you should have the following property header set to true:x-ms-documentdb-query-enable-scan

Querying spatial types

I hope this information helps, and please continue the dialog if you are still are experiencing issues.

Regards,

Mike

更多推荐

除非在创建后更新,否则无法在创建具有GeoSpatial Point的文档后查询该文档

本文发布于:2023-11-23 01:10:32,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1619566.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:文档   GeoSpatial   Point

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!