Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(fetch_available_indices): include indices with data within date r…
…ange regardless of creation date Previously, `fetchAvailableIndices` only considered indices whose creation dates fell within the specified date range. This missed indices that were created outside the date range but contained data within it. This fix updates the function to also include indices that have data within the specified date range by performing an additional search aggregation. - Return back `getRequestBody` helper to build the search request for fetching indices with data in range. - Improve error handling for invalid date formats with more specific messages. - Update tests to reflect the new logic and error messages.
- Loading branch information