Google App Engine Error: No matching index found. (Java)
问题 I am writing a query but it always says "No matching index found". I don't know why. My code is as below: Query query = pm.newQuery(Classified.class); query.setFilter("emp_Id == emp"); query.setOrdering("upload_date desc"); query.declareParameters("String emp"); List<Classified> results = (List<Classified>)query.execute(session.getAttribute("emp_Id").toString()); <?xml version="1.0" encoding="utf-8"?> <datastore-indexes autoGenerate="true"> <datastore-index kind="Classified" ancestor="false">