是否可以使用 Objectify 仅创建降序索引?

Is it possible to create just the descending index using Objectify?

在 Objectify 中可以创建 "partial indexes" 只是为了在必要时添加索引条目,例如:

@Index(IfNotNull.class)
private Date nextDate;

这将创建两个索引条目,一个在升序索引中,第二个在降序索引中。

我想知道是否有办法创建一个只更新降序或升序索引的索引,而不是同时更新两者。

没有。这是 Google App Engine 的当前限制;你得到两个索引或一个都没有。