本文介绍了除非在创建后更新,否则无法在创建具有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的文档后查询该文档
发布评论