Creating a Composite Index for AppEngine in Android-Studio-based project
问题 I used Android Studio to create both an Android project, and its backend AppEngine Endpoints counterpart. I have a datastore for which I am using Objectify. The system worked great, until I added a filter to my Query (to show only specific given emails). Query<Report> query = ofy().load().type(Report.class).filter("email", user.getEmail()).order("email").order("-when").limit(limit); This is the POJO Datastore Entity: @Entity public class Report { @Id Long id; String who; @Index Date when;