Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the ability to configure a date type to not expand if end date is current date #2636

Open
ivakegg opened this issue Nov 19, 2024 · 0 comments · May be fixed by #2662
Open

Update the ability to configure a date type to not expand if end date is current date #2636

ivakegg opened this issue Nov 19, 2024 · 0 comments · May be fixed by #2662
Assignees

Comments

@ivakegg
Copy link
Collaborator

ivakegg commented Nov 19, 2024

Current users can specify a "date.type" which will use the dateIndex to subsequently create a "SHARDS_AND_DAYS" variable in the query to subset the shards to be actually searched. There are situations where if the end date of the date range is trhe current date, and a specific date type is requested, then there is no need to do that expansions. This needs to be configurable for specified date types.

@lbschanno lbschanno self-assigned this Nov 19, 2024
lbschanno added a commit that referenced this issue Dec 6, 2024
Add the ability to configure date types that will not result in date
filter and SHARD_AND_DAYS hint addition if the query's date type is one
that should not be expanded when the query's end date is the current
date.

Fixes #2636
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 a pull request may close this issue.

2 participants