Skip to content

Commit 00fa1c8

Browse files
Yuri ZmytrakovYuri Zmytrakov
authored andcommitted
chore: update readme and changelog
1 parent 5466a37 commit 00fa1c8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
99

1010
### Added
1111

12+
-Added automatic retry for datetime searches on index-not-found errors to resolve cache race conditions. [#564](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/564)
13+
1214
### Changed
1315

1416
### Fixed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ You can customize additional settings in your `.env` file:
518518
| `PROPERTIES_END_DATETIME_FIELD` | Specifies the field used for the upper value of a datetime range for the items in the backend database. | `properties.end_datetime` | Optional |
519519
| `COLLECTION_FIELD` | Specifies the field used for the collection an item belongs to in the backend database | `collection` | Optional |
520520
| `GEOMETRY_FIELD` | Specifies the field containing the geometry of the items in the backend database | `geometry` | Optional |
521-
521+
| `STAC_SEARCH_MAX_RETRIES` | Maximum number of retry attempts for datetime search queries when index is not found | 3 | Optional |
522522

523523
> [!NOTE]
524524
> 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 commit comments

Comments
 (0)