aws-amplify / amplify-cli

The AWS Amplify CLI is a toolchain for simplifying serverless web and mobile development.
Apache License 2.0
2.82k stars 820 forks source link

Possible to use the @searchable directive to manage OpenSearch index with Amplify and update location to geo_point type? #13977

Closed djislucid closed 1 month ago

djislucid commented 1 month ago

Amplify CLI Version

12.13.0

Question

I'm attempting to use the @searchable directive to create an OpenSearch index so that I can do geospatial queries against a "location" field in a model tagged with @searchable. As far as I can tell this does not appear possible with Amplify cli because the OpenSearch index it creates does not effectively detect that a given field should have the geo_point data type.

I've come across another issue that is related to mine: https://github.com/aws-amplify/amplify-category-api/issues/2379, however the solution does not appear related to my issue.

github-actions[bot] commented 1 month ago

This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one.