On Thu, Feb 20, 2014 at 8:53 AM, David <[email protected]> wrote: > I inserted a new index in the datastore-indexes.xml, as below: > <datastore-index kind="ItemGroupOptionalQuantities" ancestor="true" > source="manual"> > <property name="quantityFrom" direction="asc"/> > </datastore-index> > It doesn't work. I'm getting a msg "DatastoreNeedIndexException: no > matching index found." >
Generally that means the query you're attempting doesn't match the indexes you've specified in datastore-indexes.xml. Can you post the code for your query? Alternately you can try updating only the datastore indexes by calling appcfg update_indexes. Here's the documentation: https://developers.google.com/appengine/docs/java/tools/uploadinganapp#Updating_Indexes ----------------- -Vinny P Technology & Media Advisor Chicago, IL App Engine Code Samples: http://www.learntogoogleit.com -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/groups/opt_out.
