opensearch-project / opensearch-project/data-prepper
Support index_pattern option in the OpenSearch source
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 374
- Forks
- 354
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 8
Description
Is your feature request related to a problem? Please describe.
The OpenSearch source currently supports an index_name_regex parameter, and users may be more familiar or prefer to pass an index pattern of index-*, which in regex is index-.*.
This would be achieved by adding an index_pattern parameter as an alternative to index_name_regex
Describe alternatives you've considered (Optional)
Replacing * with .* internally in index_name_regex to prevent misuse with the * pattern.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the OpenSearch source code that handles the existing index_name_regex parameter and inspect its related configuration and tests. Determine how an index_pattern alternative should be accepted and validated, then verify that an index-* pattern selects the intended indexes without changing existing regex behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- search
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100