Just define entity properties with indexed=False, e.g.

class Authorization(db.Model):
  domain = db.StringProperty(required=True)
  code = db.StringProperty(required=True, indexed=False)       # <<<<
  update = db.DateTimeProperty(required=True, auto_now_add=True)

and then bulkload

On Oct 4, 6:26 pm, Maxim Veksler <ma...@vekslers.org> wrote:
> Hello,
>
> I would like to disable indexing for properties I know I won't be using for
> query filtering to save storage space.
>
> I have used bulkuploader to push ~500mb of data into the datastore. These
> Entities contain lot's of properties which won't be used for filtering, for
> ex. "CountryName"
> I would like to exclude these properties from the indexing, and purge the
> existing index.
>
> Not sure about how datastore works, so I'll ask all my questions at once:
>
> Can I disable indexing for properties or does single property indexes always
> created without me being able to control it?
> Can tell app engine to truncate existing index and not recreate it (to
> reclaim the disk space) ?
> Can I retrospectively upload an index.yaml file (I did not had this file
> before) to delete the unneeded indexes created?
> Will this index.yaml configuration will take effect on my next bulkupload
> operation as well?
>
> Thanks for helping,
> Maxim.
>
> [1]http://code.google.com/appengine/docs/java/configyaml/indexconfig.html

-- 
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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to