I downloaded the pre-release 1.6.6 SDK and re-deployed my app. The problem
is fixed and pre-release 1.6.6 seems stable enough to make progress -
haven't noticed any problems yet.
On Sunday, May 20, 2012 2:26:29 AM UTC-4, Peter McKenzie wrote:
>
> The issue here is that the Index.add() signature has changed between
> 1.6.5 and 1.6.6. The impact is that Index.add() will stop working as
> 1.6.6 rolls out (but other Search functionality is unaffected). We
> try to avoid breakages like this, and expect them to be rare, but they
> are part of an API being in an experimental state.
>
> The Fix
>
> All Java Apps using Search will need to be re-compiled with the 1.6.6
> SDK. Additionally, if your code gets the response of the Index.add()
> method, then you will need to change from,
>
> for example,
>
> AddDocumentsResponse response = getIndex().add(documents);
> for (String id : response.getDocumentIds()) {
> }
>
> to
>
> AddResponse response = getIndex().add(documents);
> for (String id : response.getIds()) {
> }
>
>
> If you're hitting the problem now, you may want to try the pre-release
> SDK. There are of course risks associated with using a pre-release SDK, so
> you may prefer to wait for the released 1.6.6 SDK.
>
> Pre-release SDK link:
>
> http://code.google.com/p/googleappengine/downloads/detail?name=appengine-java-sdk-1.6.6_prerelease.zip#makechanges
>
>
--
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/-/atahXDx6ZFIJ.
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.