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

SOLR-13760 - restore viability of date math in TRA start property #879

Merged
merged 2 commits into from Oct 10, 2019

Conversation

gus-asf
Copy link
Contributor

@gus-asf gus-asf commented Sep 14, 2019

Description

Fix Date math parsing for TRA start

Solution

Invoke the DateMathParser.parseMath method rather than using the parseRouteKey method.

Tests

Added a test that fails without the fix to ensure support for date math is not lost again.

Checklist

Please review the following and check all that apply:

  • I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
  • I have created a Jira issue and added the issue ID to my pull request title.
  • I am authorized to contribute this code to the ASF and have removed any code I do not have a license to distribute.
  • I have developed this patch against the master branch.
  • I have run ant precommit and the appropriate test suite.
  • I have added tests for my changes.
  • I have added documentation for the Ref Guide (for Solr changes only).

nsoft and others added 2 commits September 14, 2019 15:59
upon the receipt of the first document to avoid problems
with date math calculations required by DRA's
@gus-asf gus-asf merged commit be813bd into apache:master Oct 10, 2019
@gus-asf
Copy link
Contributor Author

gus-asf commented Oct 10, 2019

oops, hmm forgot to do changes.txt... will add in separate commit.

asfgit pushed a commit that referenced this pull request Oct 11, 2019
by fixing the start date for time routed aliases
upon the receipt of the first document to avoid problems
with date math calculations required by DRA's

(cherry picked from commit be813bd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants