[google-appengine] Re: Are all ListProperties implicitly indexed?
On Wed, May 13, 2009 at 3:21 AM, cocoaghost an0...@gmail.com wrote: Sorry, I cut paste the wrong paragraph. Ben did the favor for me. I am asking the maximal number of elements in one un-indexed list. In an un-indexed list, the maximum number of elements is limited only by the maximum entity size (1MB) and the time it takes to decode the entity. The latter can be substantial in the case of very large lists. -Nick Johnson On May 11, 6:48 pm, Nick Johnson (Google) nick.john...@google.com wrote: On Sat, May 9, 2009 at 2:24 AM, cocoaghost an0...@gmail.com wrote: With Python SDK 1.2.2, now it is possible: ''' Datastore now supports Key-only queries, using either SELECT __key__ or db.Query(Model, keys_only=True ''' But what's the limit of list size? Can you clarify what you're asking, exactly? What list size? -Nick Johnson On Mar 23, 4:08 pm, an0 an0...@gmail.com wrote: If so, can I explicitly mark a ListProperty not to be indexed? I want the list's flexibility for some attributes, but don't want them to be indexed, (how) can I achieve this goal? Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Are all ListProperties implicitly indexed?
Sorry, I cut paste the wrong paragraph. Ben did the favor for me. I am asking the maximal number of elements in one un-indexed list. On May 11, 6:48 pm, Nick Johnson (Google) nick.john...@google.com wrote: On Sat, May 9, 2009 at 2:24 AM, cocoaghost an0...@gmail.com wrote: With Python SDK 1.2.2, now it is possible: ''' Datastore now supports Key-only queries, using either SELECT __key__ or db.Query(Model, keys_only=True ''' But what's the limit of list size? Can you clarify what you're asking, exactly? What list size? -Nick Johnson On Mar 23, 4:08 pm, an0 an0...@gmail.com wrote: If so, can I explicitly mark a ListProperty not to be indexed? I want the list's flexibility for some attributes, but don't want them to be indexed, (how) can I achieve this goal? Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Are all ListProperties implicitly indexed?
On Sat, May 9, 2009 at 2:24 AM, cocoaghost an0...@gmail.com wrote: With Python SDK 1.2.2, now it is possible: ''' Datastore now supports Key-only queries, using either SELECT __key__ or db.Query(Model, keys_only=True ''' But what's the limit of list size? Can you clarify what you're asking, exactly? What list size? -Nick Johnson On Mar 23, 4:08 pm, an0 an0...@gmail.com wrote: If so, can I explicitly mark a ListProperty not to be indexed? I want the list's flexibility for some attributes, but don't want them to be indexed, (how) can I achieve this goal? Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Are all ListProperties implicitly indexed?
Also, in sdk 1.2.2: Datastore indexes on single properties can now be disabled by setting indexed=False on the property constructor. http://googleappengine.blogspot.com/2009/05/python-sdk-version-122-released.html On Mar 23, 3:08 am, an0 an0...@gmail.com wrote: If so, can I explicitly mark a ListProperty not to be indexed? I want the list's flexibility for some attributes, but don't want them to be indexed, (how) can I achieve this goal? Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Are all ListProperties implicitly indexed?
With Python SDK 1.2.2, now it is possible: ''' Datastore now supports Key-only queries, using either SELECT __key__ or db.Query(Model, keys_only=True ''' But what's the limit of list size? On Mar 23, 4:08 pm, an0 an0...@gmail.com wrote: If so, can I explicitly mark a ListProperty not to be indexed? I want the list's flexibility for some attributes, but don't want them to be indexed, (how) can I achieve this goal? Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Are all ListProperties implicitly indexed?
Thank you, this is what I've been using; I'm just looking for something better. On Mar 26, 6:12 am, Marzia Niccolai ma...@google.com wrote: Hi, Everything that is query-able must be indexed (http://code.google.com/appengine/articles/index_building.html). So if you want to store, but not query, a list, I would suggest using db.BlobProperty. -Marzia On Mon, Mar 23, 2009 at 1:08 AM, an0 an0...@gmail.com wrote: If so, can I explicitly mark a ListProperty not to be indexed? I want the list's flexibility for some attributes, but don't want them to be indexed, (how) can I achieve this goal? Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Are all ListProperties implicitly indexed?
Hi, Everything that is query-able must be indexed ( http://code.google.com/appengine/articles/index_building.html). So if you want to store, but not query, a list, I would suggest using db.BlobProperty. -Marzia On Mon, Mar 23, 2009 at 1:08 AM, an0 an0...@gmail.com wrote: If so, can I explicitly mark a ListProperty not to be indexed? I want the list's flexibility for some attributes, but don't want them to be indexed, (how) can I achieve this goal? Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---