On Tue, Jun 24, 2014 at 3:57 AM, csai <[email protected]> wrote:

> We have about 100k entities that we'd like to upload to the datastore.
> This seems doable (albeit slow) through the bulk upload functionality.
> However, we also want to create a document for each entity, which will
> contain a keyword string from the entity.
>
> We are linking up datastore entities and documents in this manner to take
> advantage of the search functionality of documents.  However, to do so will
> also require us to create documents on the fly as the datastore entities
> are being created via bulk upload.
>


There's many ways to handle this, but I would suggest handling the
documents separately. You can use the bulkloader to upload all the
entities, then use a custom script to run through entities and create your
documents.

This is also better because you can use the script to periodically verify
that your data was uploaded successfully.


-----------------
-Vinny P
Technology & Media Consultant
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.

Reply via email to