-
Notifications
You must be signed in to change notification settings - Fork 54
Not compatible with CloudSearch API version 2013-01-01 #29
Comments
It is quite critical question I think. Is there any chance to support newer API version? |
I just want (must) to use the current version. My current app has requirements to use 2013-01-01 api version. |
Here's a temporary fix that you can use in the meantime, before Asari is updated. Add the following to any models that are indexed on CloudSearch:
Seems like this new version of the CloudSearch API is backwards compatible, so it's just a matter of specifying the new version in the API's endpoint URLs. |
@wellbredgrapefruit it is an interest in keeping it current since there are a lot of enhancements, even in the console of CloudSearch, which the older API won't get benefit from. And the API has been released more than a year ago, so it's not actually very new now, it should already be the standard. @drewda thanks for the temporary fix, but we'll not be using asari for now, since we need highlighting, and from what I know, there's no highlighting in the 2011 API. |
It will be a good idea to support the new version of the API. With that being said there are some bigger itches that we are scratching on the indexing side before getting over to that. We would also welcome pull requests if you would like to help us to add some of this in. |
+1 Using the old api version to access a new CloudSearch instance (which automatically has api version 2013-01-01) seems to return a In addition, the |
Ok, if you are willing to live on the edge and use the 1.0 branch we now have some support in for it. The ActiveAsari pieces now only work with 2013-01-01 and you can set Asari to use the new api by setting the CLOUDSEARCH_API_VERSION environment variable to 2013-01-01 . The forbidden error happens if you try to access the wrong version of the api (IE: you have set up the domain on the 2013-01-01 and try to access it with the 2011-02-01). I haven't had time to document this yet and some other pieces may still be missing, so please let me know if we are missing anything. This is also settable directly on a Asari object if you are using it that way. |
Hi, I tried using the 1.0 branch and I am getting this after using the asari_find method:
Here's the stack trace:
|
Hi, any solution for the Thanks for your work, |
Ok I figured out what's the more specific message to this and it seems I'm missing something within the service configuration as it says
I'm going to investigate if this issue is related to the gem or not at all. |
Yup, indeed I was missing a index field :)) |
Hi, trying to get the ActiveAsari class working with the
So by debugging the returned data I have something like A quick patch made it work for me, appended the patch. I'd like to contribute by submitting the patch but I'm getting
If you could help fixing specs I'll submit a pull request. |
Do you plan to support the newer API? This one seems to only support the 2011 API version.
The text was updated successfully, but these errors were encountered: