lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (JIRA) <>
Subject [jira] [Commented] (SOLR-13099) Support a new type of unit 'WEEK ' for DateMathParser
Date Thu, 03 Jan 2019 14:09:00 GMT


Jan Høydahl commented on SOLR-13099:

Please also add a line to CHANGES.txt to describe your change. And if you want to attempt
Reference Guide documentation update for [] that
would be perfect, others can language wash and check correctness. 

We should find a way to configure start of week. Since Solr already abides by [ISO-8601|] and
UTC when it comes to dates, it makes more sense to let the default first day of week be Monday
as defined in the standard ([,] [,]

In order to ask Solr to use Sunday as first day for date math I suggest a new request parameter
{{FDOW=Sun}} that could be described in the section [Request Parameters That Affect Date


> Support a new type of unit 'WEEK ' for DateMathParser
> -----------------------------------------------------
>                 Key: SOLR-13099
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Haochao Zhuang
>            Priority: Major
>         Attachments: SOLR-13099.patch
> for convenience purpose, i think a WEEK unit is necessary.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message