1
1
# STAC FastAPI Elasticsearch
2
2
3
- Elasticsearch backend for stac-fastapi.
3
+ ## Elasticsearch backend for stac-fastapi
4
+ -----
4
5
5
- Join our [ Gitter] ( https://gitter.im/stac-fastapi-elasticsearch/community ) page
6
+ ### Join our [ Gitter] ( https://gitter.im/stac-fastapi-elasticsearch/community ) page
6
7
7
- For changes, see the [ Changelog] ( CHANGELOG.md ) .
8
+ ### Check out the public Postman documentation [ Postman] ( https://documenter.getpostman.com/view/12888943/2s8ZDSdRHA )
9
+
10
+ ### For changes, see the [ Changelog] ( CHANGELOG.md )
11
+ -----
8
12
9
13
## Development Environment Setup
10
14
@@ -23,14 +27,14 @@ Prior to commit, run:
23
27
``` shell
24
28
pre-commit run --all-files
25
29
```
26
-
30
+ -----
27
31
28
32
## Building
29
33
30
34
``` shell
31
35
docker-compose build
32
36
```
33
-
37
+ -----
34
38
## Running API on localhost:8080
35
39
36
40
``` shell
@@ -55,24 +59,26 @@ curl -X "POST" "http://localhost:8080/collections" \
55
59
}'
56
60
```
57
61
58
- Note: this "Collections Transaction" behavior is not part of the STAC API, but may be soon.
59
-
62
+ Note: this "Collections Transaction" behavior is not part of the STAC API, but may be soon.
63
+
64
+ ------
60
65
## Testing
61
66
62
67
``` shell
63
68
make test
64
69
```
65
-
70
+ -----
66
71
## Ingest sample data
67
72
68
73
``` shell
69
74
make ingest
70
75
```
71
-
76
+ -----
72
77
## Elasticsearch Mappings
73
78
74
- Mappings apply to search index, not source.
75
-
79
+ Mappings apply to search index, not source.
80
+
81
+ -----
76
82
## Managing Elasticsearch Indices
77
83
78
84
This section covers how to create a snapshot repository and then create and restore snapshots with this.
0 commit comments