search - PutMulti ??

23 views
Skip to first unread message

bsr

unread,
Jan 21, 2015, 10:56:01 AM1/21/15
to google-ap...@googlegroups.com
Hi,

Qn1:

The best practice doc says

"You can pass up to 200 documents at a time when adding or deleting them from an index. This is much more efficient that handling them one at a time."

but, I do not see a bulk version for put for search index. It accepts one id, and how can I pass multiple ids?

Qn2:

Is it ok/good practice to use index id same as datastore id.  so, I put a doc into datastore, and use that id for search doc as well . any caveats?

thanks.

Glenn Lewis

unread,
Jan 21, 2015, 7:08:33 PM1/21/15
to bsr, google-appengine-go
Multi variants of Put/Delete are currently not supported in Go.  I will work on fixing the documentation.
Please feel free to file a feature request here:

As for using the same index ID as the datastore ID, the team agrees that that seems reasonable.
-- Glenn

--
You received this message because you are subscribed to the Google Groups "google-appengine-go" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengin...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages