sfeos-helpers 6.2.1__tar.gz → 6.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/PKG-INFO +41 -31
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/README.md +39 -20
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/setup.py +1 -1
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/sfeos_helpers.egg-info/PKG-INFO +42 -32
- sfeos_helpers-6.3.0/sfeos_helpers.egg-info/requires.txt +1 -0
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/sfeos_helpers.egg-info/top_level.txt +0 -1
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/database/utils.py +3 -3
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/mappings.py +4 -2
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/version.py +1 -1
- sfeos_helpers-6.2.1/sfeos_helpers.egg-info/requires.txt +0 -1
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/setup.cfg +0 -0
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/sfeos_helpers.egg-info/SOURCES.txt +0 -0
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/sfeos_helpers.egg-info/dependency_links.txt +0 -0
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/sfeos_helpers.egg-info/not-zip-safe +0 -0
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/aggregation/__init__.py +0 -0
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/aggregation/client.py +0 -0
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/aggregation/format.py +0 -0
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/database/__init__.py +0 -0
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/database/datetime.py +0 -0
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/database/document.py +0 -0
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/database/index.py +0 -0
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/database/mapping.py +0 -0
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/database/query.py +0 -0
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/filter/__init__.py +0 -0
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/filter/client.py +0 -0
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/filter/cql2.py +0 -0
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/filter/transform.py +0 -0
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/models/patch.py +0 -0
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/search_engine/__init__.py +0 -0
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/search_engine/base.py +0 -0
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/search_engine/factory.py +0 -0
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/search_engine/index_operations.py +0 -0
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/search_engine/inserters.py +0 -0
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/search_engine/managers.py +0 -0
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/search_engine/selection/__init__.py +0 -0
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/search_engine/selection/base.py +0 -0
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/search_engine/selection/cache_manager.py +0 -0
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/search_engine/selection/factory.py +0 -0
- {sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/search_engine/selection/selectors.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
2
|
Name: sfeos_helpers
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.3.0
|
|
4
4
|
Summary: Helper library for the Elasticsearch and Opensearch stac-fastapi backends.
|
|
5
5
|
Home-page: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch
|
|
6
6
|
License: MIT
|
|
@@ -15,15 +15,6 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
15
15
|
Classifier: License :: OSI Approved :: MIT License
|
|
16
16
|
Requires-Python: >=3.9
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
|
-
Requires-Dist: stac-fastapi.core==6.2.1
|
|
19
|
-
Dynamic: classifier
|
|
20
|
-
Dynamic: description
|
|
21
|
-
Dynamic: description-content-type
|
|
22
|
-
Dynamic: home-page
|
|
23
|
-
Dynamic: license
|
|
24
|
-
Dynamic: requires-dist
|
|
25
|
-
Dynamic: requires-python
|
|
26
|
-
Dynamic: summary
|
|
27
18
|
|
|
28
19
|
# stac-fastapi-elasticsearch-opensearch
|
|
29
20
|
|
|
@@ -93,26 +84,43 @@ This project is built on the following technologies: STAC, stac-fastapi, FastAPI
|
|
|
93
84
|
|
|
94
85
|
## Table of Contents
|
|
95
86
|
|
|
96
|
-
- [
|
|
97
|
-
- [
|
|
98
|
-
- [
|
|
99
|
-
- [
|
|
100
|
-
- [
|
|
101
|
-
- [
|
|
102
|
-
- [
|
|
103
|
-
- [
|
|
104
|
-
- [
|
|
105
|
-
- [
|
|
106
|
-
- [
|
|
107
|
-
- [
|
|
108
|
-
- [
|
|
109
|
-
- [
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
- [
|
|
113
|
-
- [
|
|
114
|
-
- [
|
|
115
|
-
- [
|
|
87
|
+
- [stac-fastapi-elasticsearch-opensearch](#stac-fastapi-elasticsearch-opensearch)
|
|
88
|
+
- [Sponsors \& Supporters](#sponsors--supporters)
|
|
89
|
+
- [Project Introduction - What is SFEOS?](#project-introduction---what-is-sfeos)
|
|
90
|
+
- [Common Deployment Patterns](#common-deployment-patterns)
|
|
91
|
+
- [Technologies](#technologies)
|
|
92
|
+
- [Table of Contents](#table-of-contents)
|
|
93
|
+
- [Documentation \& Resources](#documentation--resources)
|
|
94
|
+
- [Package Structure](#package-structure)
|
|
95
|
+
- [Examples](#examples)
|
|
96
|
+
- [Performance](#performance)
|
|
97
|
+
- [Direct Response Mode](#direct-response-mode)
|
|
98
|
+
- [Quick Start](#quick-start)
|
|
99
|
+
- [Installation](#installation)
|
|
100
|
+
- [Running Locally](#running-locally)
|
|
101
|
+
- [Using Pre-built Docker Images](#using-pre-built-docker-images)
|
|
102
|
+
- [Using Docker Compose](#using-docker-compose)
|
|
103
|
+
- [Configuration Reference](#configuration-reference)
|
|
104
|
+
- [Datetime-Based Index Management](#datetime-based-index-management)
|
|
105
|
+
- [Overview](#overview)
|
|
106
|
+
- [When to Use](#when-to-use)
|
|
107
|
+
- [Configuration](#configuration)
|
|
108
|
+
- [Enabling Datetime-Based Indexing](#enabling-datetime-based-indexing)
|
|
109
|
+
- [Related Configuration Variables](#related-configuration-variables)
|
|
110
|
+
- [How Datetime-Based Indexing Works](#how-datetime-based-indexing-works)
|
|
111
|
+
- [Index and Alias Naming Convention](#index-and-alias-naming-convention)
|
|
112
|
+
- [Index Size Management](#index-size-management)
|
|
113
|
+
- [Interacting with the API](#interacting-with-the-api)
|
|
114
|
+
- [Configure the API](#configure-the-api)
|
|
115
|
+
- [Collection Pagination](#collection-pagination)
|
|
116
|
+
- [Ingesting Sample Data CLI Tool](#ingesting-sample-data-cli-tool)
|
|
117
|
+
- [Elasticsearch Mappings](#elasticsearch-mappings)
|
|
118
|
+
- [Managing Elasticsearch Indices](#managing-elasticsearch-indices)
|
|
119
|
+
- [Snapshots](#snapshots)
|
|
120
|
+
- [Reindexing](#reindexing)
|
|
121
|
+
- [Auth](#auth)
|
|
122
|
+
- [Aggregation](#aggregation)
|
|
123
|
+
- [Rate Limiting](#rate-limiting)
|
|
116
124
|
|
|
117
125
|
## Documentation & Resources
|
|
118
126
|
|
|
@@ -255,6 +263,8 @@ You can customize additional settings in your `.env` file:
|
|
|
255
263
|
| `DATABASE_REFRESH` | Controls whether database operations refresh the index immediately after changes. If set to `true`, changes will be immediately searchable. If set to `false`, changes may not be immediately visible but can improve performance for bulk operations. If set to `wait_for`, changes will wait for the next refresh cycle to become visible. | `false` | Optional |
|
|
256
264
|
| `ENABLE_TRANSACTIONS_EXTENSIONS` | Enables or disables the Transactions and Bulk Transactions API extensions. If set to `false`, the POST `/collections` route and related transaction endpoints (including bulk transaction operations) will be unavailable in the API. This is useful for deployments where mutating the catalog via the API should be prevented. | `true` | Optional |
|
|
257
265
|
| `STAC_ITEM_LIMIT` | Sets the environment variable for result limiting to SFEOS for the number of returned items and STAC collections. | `10` | Optional |
|
|
266
|
+
| `STAC_INDEX_ASSETS` | Controls if Assets are indexed when added to Elasticsearch/Opensearch. This allows asset fields to be included in search queries. | `false` | Optional |
|
|
267
|
+
| `ENV_MAX_LIMIT` | Configures the environment variable in SFEOS to override the default `MAX_LIMIT`, which controls the limit parameter for returned items and STAC collections. | `10,000` | Optional |
|
|
258
268
|
|
|
259
269
|
> [!NOTE]
|
|
260
270
|
> The variables `ES_HOST`, `ES_PORT`, `ES_USE_SSL`, `ES_VERIFY_CERTS` and `ES_TIMEOUT` apply to both Elasticsearch and OpenSearch backends, so there is no need to rename the key names to `OS_` even if you're using OpenSearch.
|
|
@@ -66,26 +66,43 @@ This project is built on the following technologies: STAC, stac-fastapi, FastAPI
|
|
|
66
66
|
|
|
67
67
|
## Table of Contents
|
|
68
68
|
|
|
69
|
-
- [
|
|
70
|
-
- [
|
|
71
|
-
- [
|
|
72
|
-
- [
|
|
73
|
-
- [
|
|
74
|
-
- [
|
|
75
|
-
- [
|
|
76
|
-
- [
|
|
77
|
-
- [
|
|
78
|
-
- [
|
|
79
|
-
- [
|
|
80
|
-
- [
|
|
81
|
-
- [
|
|
82
|
-
- [
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
- [
|
|
86
|
-
- [
|
|
87
|
-
- [
|
|
88
|
-
- [
|
|
69
|
+
- [stac-fastapi-elasticsearch-opensearch](#stac-fastapi-elasticsearch-opensearch)
|
|
70
|
+
- [Sponsors \& Supporters](#sponsors--supporters)
|
|
71
|
+
- [Project Introduction - What is SFEOS?](#project-introduction---what-is-sfeos)
|
|
72
|
+
- [Common Deployment Patterns](#common-deployment-patterns)
|
|
73
|
+
- [Technologies](#technologies)
|
|
74
|
+
- [Table of Contents](#table-of-contents)
|
|
75
|
+
- [Documentation \& Resources](#documentation--resources)
|
|
76
|
+
- [Package Structure](#package-structure)
|
|
77
|
+
- [Examples](#examples)
|
|
78
|
+
- [Performance](#performance)
|
|
79
|
+
- [Direct Response Mode](#direct-response-mode)
|
|
80
|
+
- [Quick Start](#quick-start)
|
|
81
|
+
- [Installation](#installation)
|
|
82
|
+
- [Running Locally](#running-locally)
|
|
83
|
+
- [Using Pre-built Docker Images](#using-pre-built-docker-images)
|
|
84
|
+
- [Using Docker Compose](#using-docker-compose)
|
|
85
|
+
- [Configuration Reference](#configuration-reference)
|
|
86
|
+
- [Datetime-Based Index Management](#datetime-based-index-management)
|
|
87
|
+
- [Overview](#overview)
|
|
88
|
+
- [When to Use](#when-to-use)
|
|
89
|
+
- [Configuration](#configuration)
|
|
90
|
+
- [Enabling Datetime-Based Indexing](#enabling-datetime-based-indexing)
|
|
91
|
+
- [Related Configuration Variables](#related-configuration-variables)
|
|
92
|
+
- [How Datetime-Based Indexing Works](#how-datetime-based-indexing-works)
|
|
93
|
+
- [Index and Alias Naming Convention](#index-and-alias-naming-convention)
|
|
94
|
+
- [Index Size Management](#index-size-management)
|
|
95
|
+
- [Interacting with the API](#interacting-with-the-api)
|
|
96
|
+
- [Configure the API](#configure-the-api)
|
|
97
|
+
- [Collection Pagination](#collection-pagination)
|
|
98
|
+
- [Ingesting Sample Data CLI Tool](#ingesting-sample-data-cli-tool)
|
|
99
|
+
- [Elasticsearch Mappings](#elasticsearch-mappings)
|
|
100
|
+
- [Managing Elasticsearch Indices](#managing-elasticsearch-indices)
|
|
101
|
+
- [Snapshots](#snapshots)
|
|
102
|
+
- [Reindexing](#reindexing)
|
|
103
|
+
- [Auth](#auth)
|
|
104
|
+
- [Aggregation](#aggregation)
|
|
105
|
+
- [Rate Limiting](#rate-limiting)
|
|
89
106
|
|
|
90
107
|
## Documentation & Resources
|
|
91
108
|
|
|
@@ -228,6 +245,8 @@ You can customize additional settings in your `.env` file:
|
|
|
228
245
|
| `DATABASE_REFRESH` | Controls whether database operations refresh the index immediately after changes. If set to `true`, changes will be immediately searchable. If set to `false`, changes may not be immediately visible but can improve performance for bulk operations. If set to `wait_for`, changes will wait for the next refresh cycle to become visible. | `false` | Optional |
|
|
229
246
|
| `ENABLE_TRANSACTIONS_EXTENSIONS` | Enables or disables the Transactions and Bulk Transactions API extensions. If set to `false`, the POST `/collections` route and related transaction endpoints (including bulk transaction operations) will be unavailable in the API. This is useful for deployments where mutating the catalog via the API should be prevented. | `true` | Optional |
|
|
230
247
|
| `STAC_ITEM_LIMIT` | Sets the environment variable for result limiting to SFEOS for the number of returned items and STAC collections. | `10` | Optional |
|
|
248
|
+
| `STAC_INDEX_ASSETS` | Controls if Assets are indexed when added to Elasticsearch/Opensearch. This allows asset fields to be included in search queries. | `false` | Optional |
|
|
249
|
+
| `ENV_MAX_LIMIT` | Configures the environment variable in SFEOS to override the default `MAX_LIMIT`, which controls the limit parameter for returned items and STAC collections. | `10,000` | Optional |
|
|
231
250
|
|
|
232
251
|
> [!NOTE]
|
|
233
252
|
> The variables `ES_HOST`, `ES_PORT`, `ES_USE_SSL`, `ES_VERIFY_CERTS` and `ES_TIMEOUT` apply to both Elasticsearch and OpenSearch backends, so there is no need to rename the key names to `OS_` even if you're using OpenSearch.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
2
|
-
Name:
|
|
3
|
-
Version: 6.
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: sfeos-helpers
|
|
3
|
+
Version: 6.3.0
|
|
4
4
|
Summary: Helper library for the Elasticsearch and Opensearch stac-fastapi backends.
|
|
5
5
|
Home-page: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch
|
|
6
6
|
License: MIT
|
|
@@ -15,15 +15,6 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
15
15
|
Classifier: License :: OSI Approved :: MIT License
|
|
16
16
|
Requires-Python: >=3.9
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
|
-
Requires-Dist: stac-fastapi.core==6.2.1
|
|
19
|
-
Dynamic: classifier
|
|
20
|
-
Dynamic: description
|
|
21
|
-
Dynamic: description-content-type
|
|
22
|
-
Dynamic: home-page
|
|
23
|
-
Dynamic: license
|
|
24
|
-
Dynamic: requires-dist
|
|
25
|
-
Dynamic: requires-python
|
|
26
|
-
Dynamic: summary
|
|
27
18
|
|
|
28
19
|
# stac-fastapi-elasticsearch-opensearch
|
|
29
20
|
|
|
@@ -93,26 +84,43 @@ This project is built on the following technologies: STAC, stac-fastapi, FastAPI
|
|
|
93
84
|
|
|
94
85
|
## Table of Contents
|
|
95
86
|
|
|
96
|
-
- [
|
|
97
|
-
- [
|
|
98
|
-
- [
|
|
99
|
-
- [
|
|
100
|
-
- [
|
|
101
|
-
- [
|
|
102
|
-
- [
|
|
103
|
-
- [
|
|
104
|
-
- [
|
|
105
|
-
- [
|
|
106
|
-
- [
|
|
107
|
-
- [
|
|
108
|
-
- [
|
|
109
|
-
- [
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
- [
|
|
113
|
-
- [
|
|
114
|
-
- [
|
|
115
|
-
- [
|
|
87
|
+
- [stac-fastapi-elasticsearch-opensearch](#stac-fastapi-elasticsearch-opensearch)
|
|
88
|
+
- [Sponsors \& Supporters](#sponsors--supporters)
|
|
89
|
+
- [Project Introduction - What is SFEOS?](#project-introduction---what-is-sfeos)
|
|
90
|
+
- [Common Deployment Patterns](#common-deployment-patterns)
|
|
91
|
+
- [Technologies](#technologies)
|
|
92
|
+
- [Table of Contents](#table-of-contents)
|
|
93
|
+
- [Documentation \& Resources](#documentation--resources)
|
|
94
|
+
- [Package Structure](#package-structure)
|
|
95
|
+
- [Examples](#examples)
|
|
96
|
+
- [Performance](#performance)
|
|
97
|
+
- [Direct Response Mode](#direct-response-mode)
|
|
98
|
+
- [Quick Start](#quick-start)
|
|
99
|
+
- [Installation](#installation)
|
|
100
|
+
- [Running Locally](#running-locally)
|
|
101
|
+
- [Using Pre-built Docker Images](#using-pre-built-docker-images)
|
|
102
|
+
- [Using Docker Compose](#using-docker-compose)
|
|
103
|
+
- [Configuration Reference](#configuration-reference)
|
|
104
|
+
- [Datetime-Based Index Management](#datetime-based-index-management)
|
|
105
|
+
- [Overview](#overview)
|
|
106
|
+
- [When to Use](#when-to-use)
|
|
107
|
+
- [Configuration](#configuration)
|
|
108
|
+
- [Enabling Datetime-Based Indexing](#enabling-datetime-based-indexing)
|
|
109
|
+
- [Related Configuration Variables](#related-configuration-variables)
|
|
110
|
+
- [How Datetime-Based Indexing Works](#how-datetime-based-indexing-works)
|
|
111
|
+
- [Index and Alias Naming Convention](#index-and-alias-naming-convention)
|
|
112
|
+
- [Index Size Management](#index-size-management)
|
|
113
|
+
- [Interacting with the API](#interacting-with-the-api)
|
|
114
|
+
- [Configure the API](#configure-the-api)
|
|
115
|
+
- [Collection Pagination](#collection-pagination)
|
|
116
|
+
- [Ingesting Sample Data CLI Tool](#ingesting-sample-data-cli-tool)
|
|
117
|
+
- [Elasticsearch Mappings](#elasticsearch-mappings)
|
|
118
|
+
- [Managing Elasticsearch Indices](#managing-elasticsearch-indices)
|
|
119
|
+
- [Snapshots](#snapshots)
|
|
120
|
+
- [Reindexing](#reindexing)
|
|
121
|
+
- [Auth](#auth)
|
|
122
|
+
- [Aggregation](#aggregation)
|
|
123
|
+
- [Rate Limiting](#rate-limiting)
|
|
116
124
|
|
|
117
125
|
## Documentation & Resources
|
|
118
126
|
|
|
@@ -255,6 +263,8 @@ You can customize additional settings in your `.env` file:
|
|
|
255
263
|
| `DATABASE_REFRESH` | Controls whether database operations refresh the index immediately after changes. If set to `true`, changes will be immediately searchable. If set to `false`, changes may not be immediately visible but can improve performance for bulk operations. If set to `wait_for`, changes will wait for the next refresh cycle to become visible. | `false` | Optional |
|
|
256
264
|
| `ENABLE_TRANSACTIONS_EXTENSIONS` | Enables or disables the Transactions and Bulk Transactions API extensions. If set to `false`, the POST `/collections` route and related transaction endpoints (including bulk transaction operations) will be unavailable in the API. This is useful for deployments where mutating the catalog via the API should be prevented. | `true` | Optional |
|
|
257
265
|
| `STAC_ITEM_LIMIT` | Sets the environment variable for result limiting to SFEOS for the number of returned items and STAC collections. | `10` | Optional |
|
|
266
|
+
| `STAC_INDEX_ASSETS` | Controls if Assets are indexed when added to Elasticsearch/Opensearch. This allows asset fields to be included in search queries. | `false` | Optional |
|
|
267
|
+
| `ENV_MAX_LIMIT` | Configures the environment variable in SFEOS to override the default `MAX_LIMIT`, which controls the limit parameter for returned items and STAC collections. | `10,000` | Optional |
|
|
258
268
|
|
|
259
269
|
> [!NOTE]
|
|
260
270
|
> The variables `ES_HOST`, `ES_PORT`, `ES_USE_SSL`, `ES_VERIFY_CERTS` and `ES_TIMEOUT` apply to both Elasticsearch and OpenSearch backends, so there is no need to rename the key names to `OS_` even if you're using OpenSearch.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
stac-fastapi.core==6.3.0
|
|
@@ -114,7 +114,7 @@ def check_commands(
|
|
|
114
114
|
commands.add(
|
|
115
115
|
f"if (!ctx._source{part_nest}.containsKey('{path_part}'))"
|
|
116
116
|
f"{{ctx._source{part_nest}['{path_part}'] = {value};}}"
|
|
117
|
-
f"{'' if index == len(path.parts) - 1 else' else '}"
|
|
117
|
+
f"{'' if index == len(path.parts) - 1 else' else '}" # noqa: E275
|
|
118
118
|
)
|
|
119
119
|
|
|
120
120
|
else:
|
|
@@ -133,12 +133,12 @@ def check_commands(
|
|
|
133
133
|
f" && ctx._source{path.es_nest}.size() < {abs(path.key)})"
|
|
134
134
|
f" || (!(ctx._source{path.es_nest} instanceof ArrayList)"
|
|
135
135
|
f" && !ctx._source{path.es_nest}.containsKey('{path.key}')))"
|
|
136
|
-
f"{{Debug.explain('{path.key} does not exist in {path.nest}');}}"
|
|
136
|
+
f"{{Debug.explain('{path.key} does not exist in {path.nest}');}}" # noqa: E713
|
|
137
137
|
)
|
|
138
138
|
else:
|
|
139
139
|
commands.add(
|
|
140
140
|
f"if (!ctx._source{path.es_nest}.containsKey('{path.key}'))"
|
|
141
|
-
f"{{Debug.explain('{path.key} does not exist in {path.nest}');}}"
|
|
141
|
+
f"{{Debug.explain('{path.key} does not exist in {path.nest}');}}" # noqa: E713
|
|
142
142
|
)
|
|
143
143
|
|
|
144
144
|
|
|
@@ -28,6 +28,8 @@ Function Naming Conventions:
|
|
|
28
28
|
import os
|
|
29
29
|
from typing import Any, Dict, Literal, Protocol
|
|
30
30
|
|
|
31
|
+
from stac_fastapi.core.utilities import get_bool_env
|
|
32
|
+
|
|
31
33
|
|
|
32
34
|
# stac_pydantic classes extend _GeometryBase, which doesn't have a type field,
|
|
33
35
|
# So create our own Protocol for typing
|
|
@@ -134,7 +136,7 @@ ES_ITEMS_MAPPINGS = {
|
|
|
134
136
|
"id": {"type": "keyword"},
|
|
135
137
|
"collection": {"type": "keyword"},
|
|
136
138
|
"geometry": {"type": "geo_shape"},
|
|
137
|
-
"assets": {"type": "object", "enabled":
|
|
139
|
+
"assets": {"type": "object", "enabled": get_bool_env("STAC_INDEX_ASSETS")},
|
|
138
140
|
"links": {"type": "object", "enabled": False},
|
|
139
141
|
"properties": {
|
|
140
142
|
"type": "object",
|
|
@@ -162,7 +164,7 @@ ES_COLLECTIONS_MAPPINGS = {
|
|
|
162
164
|
"extent.temporal.interval": {"type": "date"},
|
|
163
165
|
"providers": {"type": "object", "enabled": False},
|
|
164
166
|
"links": {"type": "object", "enabled": False},
|
|
165
|
-
"item_assets": {"type": "object", "enabled":
|
|
167
|
+
"item_assets": {"type": "object", "enabled": get_bool_env("STAC_INDEX_ASSETS")},
|
|
166
168
|
},
|
|
167
169
|
}
|
|
168
170
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"""library version."""
|
|
2
|
-
__version__ = "6.
|
|
2
|
+
__version__ = "6.3.0"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
stac-fastapi.core==6.2.1
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/aggregation/__init__.py
RENAMED
|
File without changes
|
{sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/aggregation/client.py
RENAMED
|
File without changes
|
{sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/aggregation/format.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/search_engine/__init__.py
RENAMED
|
File without changes
|
{sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/search_engine/base.py
RENAMED
|
File without changes
|
{sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/search_engine/factory.py
RENAMED
|
File without changes
|
|
File without changes
|
{sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/search_engine/inserters.py
RENAMED
|
File without changes
|
{sfeos_helpers-6.2.1 → sfeos_helpers-6.3.0}/stac_fastapi/sfeos_helpers/search_engine/managers.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|