It's not an issue with the data type, it's an issue with queries that look into multiple list properties:
http://code.google.com/appengine/docs/java/datastore/queriesandindexes.html#Big_Entities_and_Exploding_Indexes What you have is an example of an exploding index. Rather than filtering in query, is there any way you can filter for a subset of results using datastore operations, then filter in memory? -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Tue, Dec 14, 2010 at 3:35 AM, androidDeveloper <[email protected] > wrote: > I got an "IllegalArgumentException: Too many indexed properties for > entity" Exception when saving an entity that looks like this: > ... > @Persistent > @Element(dependent = "true") > @Order(extensions = @Extension(vendorName="datanucleus", key="list- > ordering", value="aDate asc")) > private List<ClassA> classAList; //ClassA only contains basic > properties like String and double > > @Persistent > private double[] list1; > @Persistent > private double[] list2; > @Persistent > private double[] list3; > > When I save an object, that has no more than 10 objects in classAList > and 3600 elements in each of the double[] Arrays list1-3 the error > above occurs in datastore. > I know that there exists a cap for indexed properties per entity of > max 5000. But I though this would only affect list porperties? > My question is, why are double arrays indexed? I thougt only List > Properties would be indexed? > Is double[] handled like List<Double> in app engines datastore? > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine-java%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
