Google 基本查询问题

发布于 2024-07-09 19:01:49 字数 390 浏览 5 评论 0原文

我正在使用 .NET 库查询 Google Base,与本页所述非常相似。

http://code.google.com/apis/base/docs/ 2.0/developers_guide_dotnet.html

当我运行查询时,会返回 GBaseFeed,它通常会将 TotalRecords 属性设置为 35 之类的值,但在 Entries 集合中,它通常没有项目或很少有项目。 其他时候,查询会返回条目中预期的所有 35 个项目。 有没有人见过这种行为或知道可能导致这种行为的原因是什么?

I am querying Google Base using the .NET library pretty much as described on this page.

http://code.google.com/apis/base/docs/2.0/developers_guide_dotnet.html

When I run the query a GBaseFeed is returned and it will usually have the TotalRecords property set to something like 35, but in the Entries collection it will often have no items or very few items. Other times the query returns all 35 items as expected in the Entries. Has anyone seen this behaviour or have any idea what could cause it?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

我做我的改变 2024-07-16 19:01:49

经过更多研究后发现,Google Base feed 中的 TotalResults 属性基本上不起作用,可能不应该依赖。

After some more research it appears the TotalResults attribute in the Google Base feeds is basically not functional and probably should not be relied upon.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文