Date precision in model
requires !266 (merged) and !267 (merged)
Date precision can be handled as a parameter of Interpreteddate model and can be use directly to match ElasticSearch syntax (ex: ES date math)
It makes possible to use a unique field validation in date model
Edited by Valentin Rigal
Merge request reports
Activity
mentioned in merge request !267 (merged)
added 6 commits
- 20600fcd - Branch ElasticSearch-date-index
- 2b52d05f - Branch dates-in-search-api
- 3b122fc4 - handle date comparison for InterpretedDate
- b9ea6f5a - usefull ES related methods in InterpretedDate model
- 15061c70 - fix date parser warning and corresponding unit test
- 8d3cff9b - reuse of interpretedDate model functions in search parameters validation
Toggle commit listCodecov Report
Merging #272 into master will decrease coverage by
0.09%
. The diff coverage is76.92%
.@@ Coverage Diff @@ ## master #272 +/- ## ========================================= - Coverage 79.83% 79.73% -0.1% ========================================= Files 162 162 Lines 9729 9742 +13 ========================================= + Hits 7767 7768 +1 - Misses 1962 1974 +12
Impacted Files Coverage Δ arkindex/project/serializer_fields.py 100% <ø> (ø)
arkindex/documents/tests/test_search_api.py 100% <ø> (ø)
arkindex/documents/tests/test_date_parser.py 97.87% <100%> (ø)
arkindex/documents/date_parser.py 100% <100%> (ø)
arkindex/documents/serializers/search.py 100% <100%> (ø)
arkindex/documents/models.py 41.26% <61.53%> (+0.28%)
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update e8fad19...1008657. Read the comment docs.Edited by Bastien Abadieadded 1 commit
- 338439ec - reuse of interpretedDate model functions in search parameters validation
added 15 commits
-
338439ec...26286305 - 10 commits from branch
master
- 72000c48 - Branch dates-in-search-api
- b21aff29 - handle date comparison for InterpretedDate
- 3d01b7a6 - usefull ES related methods in InterpretedDate model
- 6c253c44 - fix date parser warning and corresponding unit test
- 15871ad1 - reuse of interpretedDate model functions in search parameters validation
Toggle commit list-
338439ec...26286305 - 10 commits from branch
added 6 commits
-
15871ad1...e089f259 - 2 commits from branch
master
- 0e30ca74 - handle date comparison for InterpretedDate
- 3dfec2d6 - usefull ES related methods in InterpretedDate model
- eb4436e0 - fix date parser warning and corresponding unit test
- 21c53f15 - reuse of interpretedDate model functions in search parameters validation
Toggle commit list-
15871ad1...e089f259 - 2 commits from branch
added 5 commits
- cb4bd7e0 - handle date comparison for InterpretedDate
- 067ad8fa - usefull ES related methods in InterpretedDate model
- 3c5827c4 - fix date parser warning and corresponding unit test
- ee8d7ed0 - reuse of interpretedDate model functions in search parameters validation
- e9f17bec - Validate date_lte >= date_gte
Toggle commit list- Resolved by Valentin Rigal
- Resolved by Valentin Rigal
- Resolved by Valentin Rigal
- Automatically resolved by Valentin Rigal
Please register or sign in to reply