Hi,

There are two types of indexes:

   - *Per-property indexes* - each property of an entity has an 
   ascending/descending index which is written at the time of entity 
   persistence.  If you change whether a property is indexed, then you must 
   manually read and re-write the entity for the index state to be modified in 
   the datastore.  I usually write a little task which reads and re-writes all 
   entities of a specific type, which I can call if I change an entity's 
   configuration.
   - *Composite indexes* - these are updated when the index configuration 
   is modified, by uploading a new version of your application.  You do not 
   need to re-write entities for these indexes to be updated.  It should be 
   noted that a property must have a per-property index for it to be usable in 
   a Composite index.

Hopefully that helps!

Cheers,
Simon

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/TgRpZ990AocJ.
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.

Reply via email to