stac-utils / stac-fastapi-elasticsearch-opensearch

Elasticsearch backend for stac-fastapi with Opensearch support.
https://stac-utils.github.io/stac-fastapi-elasticsearch-opensearch
MIT License
24 stars 14 forks source link

Serverless ES support (a working draft) #271

Open ccancellieri opened 2 weeks ago

ccancellieri commented 2 weeks ago

Related Issue(s): Hi all, I'm trying to use this great app to accomplish my task:

  1. Connect with the ElasticSearch Serverless provided by ElasticSearch: https://elasticsearch-serverless-python.readthedocs.io/en/stable/api.html#module-elasticsearch_serverless

  2. Make use of the right API and async app ( https://elasticsearch-py.readthedocs.io/en/latest/async.html

  3. Ensure post and get capabilities to/from ES Serverless Stac items loaded with the python script.

Description:

This is only a rude but working implementation. I'm curious to understand:

I can also contribute with a remote debug setup with debugpy and vscode.

PR Checklist:

jonhealy1 commented 2 weeks ago

Hi @ccancellieri it would be really nice to have this working with elasticsearch serverless. Having a flag could work I think. Maybe someone else will have some thoughts too.

If I am understanding, this is working on elasticsearch serverless with these modifications?