Skip to content

Conversation

@rhysrevans3
Copy link
Collaborator

@rhysrevans3 rhysrevans3 commented Sep 5, 2025

Related Issue(s):

Description:

  • Adds flag for indexing assets.
  • Adds tests for serializers.
  • Adds scripts for reindexing for mapping changes.

PR Checklist:

  • Code is formatted and linted (run pre-commit run --all-files)
  • Tests pass (run make test)
  • Documentation has been updated to reflect changes, if applicable
  • Changes are added to the changelog

@jonhealy1
Copy link
Collaborator

Hi @rhysrevans3, can you split this work into 2 separate prs. I think with testing the optional asset indexing, it's a little tricky because the indexes are created when the container starts.

@rhysrevans3
Copy link
Collaborator Author

Hi @jonhealy1 I've removed the serializer tests I will create a new pull request for these. I've not had time to test the new environment variable yet. I'll aim to test it early next week.

@jonhealy1
Copy link
Collaborator

@rhysrevans3 Ok great thank you

@rhysrevans3 rhysrevans3 marked this pull request as ready for review September 15, 2025 15:44
@rhysrevans3
Copy link
Collaborator Author

@jonhealy1 this is ready for review. I've not been able to test the reindexing script with the new datetime indexing as I don't have any indexes using it.

Copy link
Collaborator

@jonhealy1 jonhealy1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work thanks @rhysrevans3

@jonhealy1 jonhealy1 merged commit 7574013 into stac-utils:main Sep 16, 2025
15 checks passed
YuriZmytrakov pushed a commit to YuriZmytrakov/stac-fastapi-elasticsearch-opensearch that referenced this pull request Sep 23, 2025
**Related Issue(s):**

- ~stac-utils#425~
- stac-utils#428

**Description:**
- Adds flag for indexing assets.
- ~Adds tests for serializers.~
- Adds scripts for reindexing for mapping changes.

**PR Checklist:**

- [x] Code is formatted and linted (run `pre-commit run --all-files`)
- [ ] Tests pass (run `make test`)
- [ ] Documentation has been updated to reflect changes, if applicable
- [ ] Changes are added to the changelog
YuriZmytrakov pushed a commit to YuriZmytrakov/stac-fastapi-elasticsearch-opensearch that referenced this pull request Sep 23, 2025
**Related Issue(s):**

- ~stac-utils#425~
- stac-utils#428

**Description:**
- Adds flag for indexing assets.
- ~Adds tests for serializers.~
- Adds scripts for reindexing for mapping changes.

**PR Checklist:**

- [x] Code is formatted and linted (run `pre-commit run --all-files`)
- [ ] Tests pass (run `make test`)
- [ ] Documentation has been updated to reflect changes, if applicable
- [ ] Changes are added to the changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants