Skip to content

Commit ec0912a

Browse files
committed
update readme, changelog
1 parent 5dd3310 commit ec0912a

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

CHANGELOG.md

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

1717
### Changed
1818

19+
- Unified elasticsearch and opensearch reindex scripts and added functionality to the new SFEOS-tools CLI package. [#490](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/490)
20+
1921
### Fixed
2022

2123
## [v6.5.1] - 2025-09-30

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,11 +509,17 @@ The system uses a precise naming convention:
509509

510510
- **Available Commands**:
511511
- `add-bbox-shape`: Add bbox_shape field to existing collections for spatial search support
512+
- `reindex`: Reindex all STAC indices (collections and per-collection items) to new versioned indices and update aliases; supports both Elasticsearch and OpenSearch backends
512513

513514
- **Basic Usage**:
514515
```shell
516+
# Add bbox_shape to collections
515517
sfeos-tools add-bbox-shape --backend elasticsearch
516518
sfeos-tools add-bbox-shape --backend opensearch
519+
520+
# Reindex all STAC data
521+
sfeos-tools reindex --backend elasticsearch --yes
522+
sfeos-tools reindex --backend opensearch --yes
517523
```
518524

519525
- **Connection Options**: Configure database connection via CLI flags or environment variables:
@@ -543,6 +549,13 @@ The system uses a precise naming convention:
543549
# Using --help for more information
544550
sfeos-tools --help
545551
sfeos-tools add-bbox-shape --help
552+
sfeos-tools reindex --help
553+
554+
# Reindex with custom batch size and concurrency
555+
sfeos-tools reindex --backend elasticsearch --batch-size 500 --concurrency 4 --yes
556+
557+
# Reindex with progress updates every 1000 items
558+
sfeos-tools reindex --backend opensearch --progress 1000 --yes
546559
```
547560

548561
For more details, see the [SFEOS Tools README](./sfeos_tools/README.md).

0 commit comments

Comments
 (0)