I've got a class that derives from db.Model that is well established
and has an unindexed ListProperty (or so I believed). I've just
started to have some instances where that list can have more than 5000
entries and it has started throwing the "Too many indexed values"
errors.
I ran some quick tests and found that for the class definitions below,
Example1 will throw the error but Example2 will not when the
ListProperty has more than 5000 entries.
The name field is respected in the first case - the datstore contains
's', however it seems to be interfering with the indexed=False
setting. Any suggestions?
# This class will throw the too many indexed values error if we place
more than 5000 values in some_longs
class Example1(db.Model):
some_longs = db.ListProperty(long, indexed=False,
name='s')
# This class does NOT have the same problem and is stored the same
way, but I don't want to completely obfuscate my code.
class Example2(db.Model):
s = db.ListProperty(long, indexed=False)
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" 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?hl=en.