我使用Google自动完成查询实现了某种地址验证,对于一些搜索请求,我得到了ZERO_RESULT,根据文档,这意味着。
ZERO_RESULTS表示搜索成功但没有返回结果。如果搜索是在一个远程位置通过了一个bounds,这可能会发生。
我的问题是关于这句话的第二部分。This may occur if the search was passed a bounds in a remote location.
我找不到更多关于这部分的细节,那是什么意思?
我之所以这么问,是因为我用来测试验证并返回zero_result的地址是一个有效的地址,我实际上可以在google地图中找到它。
This may occur if the search was passed a bounds in a remote location
意味着自动完成搜索的区域没有任何符合查询的结果。
这个范围应该是 "按位置和半径确定的区域".
这种情况更有可能发生在 strictbounds
.