stac-fastapi-elasticsearch-opensearch

Elasticsearch backend for stac-fastapi with Opensearch support

A new way for AI to search for data
View on GitHub
84GitHub stars
1,300commits on main
49forks
v8.1.1latest release, 2026-10-30

Python 97.3%, Shell 1.7%, Go Template 0.6%, Makefile 0.2% · created 2022-01-29 · last push 2026-10-31

What XERJ indexed

Snapshot

267 files · 6.4 MB

Only .github/workflows, stac_fastapi/core/stac_fastapi/core, stac_fastapi/elasticsearch/stac_fastapi/elasticsearch, stac_fastapi/opensearch/stac_fastapi/opensearch, stac_fastapi/sfeos_helpers/stac_fastapi/sfeos_helpers/database, stac_fastapi/tests/api, stac_fastapi/tests/redis, stac_fastapi/tests/resourc at commit 0428257917 (2026-10-14). main is 38 commits ahead.

Selected work

Ahmed Hassan
@ahmed-hassan19

“validate item transaction targets before writes”. 9 files, 731 lines in stac_fastapi.

Licence

The repository

MIT

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

MIT, with credit

The author agreed by email on 2026-10-15. Same terms as the repository. Answers name the repo, the commit and the file:line.

selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution

elasticsearchstac-apistac-fastapistacpythonopensearch

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub reported MIT for stac-utils/stac-fastapi-elasticsearch-opensearch on 2026-10-31, and the LICENSE file at commit 0428257917 was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.

Contributors

Ahmed Hassan (@ahmed-hassan19) has 1 selected repository on the hub.

Using XERJ with stac-fastapi-elasticsearch-opensearch

The prompt

Paste it into your AI agent. It clones stac-utils/stac-fastapi-elasticsearch-opensearch at the pinned commit and indexes it on your machine.

Search the GitHub repository stac-utils/stac-fastapi-elasticsearch-opensearch with XERJ (https://hub.xerj.org/corpus/stac-utils--stac-fastapi-elasticsearch-opensearch).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch stac-fastapi-elasticsearch-opensearch && git -C stac-fastapi-elasticsearch-opensearch checkout 0428257917efa77aaa77a2ee20e97af55fb59c65
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./stac-fastapi-elasticsearch-opensearch --url http://127.0.0.1:9200 --prefix stac-fastapi-elasticsear --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: MIT. Keep the copyright notice and credit the authors.

Related

Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.