3 messages in com.googlegroups.google-base-data-apiRe: Re-insert the same as update ?
FromSent OnAttachments
Ian mu04 Sep 2007 03:50 
l....@smsold.com05 Sep 2007 12:01 
Dal...@ PBPost05 Sep 2007 12:16 
Subject:Re: Re-insert the same as update ?
From:Dal...@ PBPost (thep@gmail.com)
Date:09/05/2007 12:16:07 PM
List:com.googlegroups.google-base-data-api

Hi,

I found that they are the same thing. I ended up just doing a re- insert instead of an update because it seemed to have the same result and i didn't need to do anything different regarding development.

I did find that when I did the original insert, the item's status went to "published" almost immediately. Then if I did a re-insert with NO changes in any of the fields the status stayed at the "published soon" status for quite some time ... but doing a re-insert with at least one field changed resulted in the status going to "published" almost immediately. Not sure if that means much tho.

Dale

On Sep 5, 3:02 pm, "l.@smsold.com" <l.@smsold.com> wrote:

Hi,

If you want to update items, let try:

<id>http://www.google.com/base/feeds/items/[your item's id]</id> <batch:operation type="update"/>

Liem Do

On Sep 4, 3:50 am, "Ian mu" <mu.l@gmail.com> wrote:

Hiya,

Just wondering, assuming you have the same ID, when I insert the same item (with modified content), it just seems to have exactly the same effect as sending it as an update, not sure if I'm missing something. They both seem to be searchable fast, whereas I thought maybe update would be faster in a search to find the modified content, but doesn't seem to make any difference (although often hard to tell).

Is there any fundamental difference in the way they are treated once they appear to googe base, like being preferred in rankings, or updated content appearing sooner ? Is there any need to update, or simply re-insert the same item (with same id) is the same ?

Thanks in advance,

Ian- Hide quoted text -

- Show quoted text -