[jira] [Commented] (SOLR-12591) Ensure ParseDateFieldUpdateProcessorFactory can be used instead of ExtractionDateUtil

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (SOLR-12591) Ensure ParseDateFieldUpdateProcessorFactory can be used instead of ExtractionDateUtil

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/SOLR-12591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16576661#comment-16576661 ]

David Smiley commented on SOLR-12591:
-------------------------------------

"lenient" boolean can be global to the URP (spanning formats).  This is consistent with the existing default/override timezone setting, and is rather simple.

I don't think the URP should try and be some public API.  I don't think there's a need for that in Solr.  We can change our mind in the future if a use-case presents itself.

> Ensure ParseDateFieldUpdateProcessorFactory can be used instead of ExtractionDateUtil
> -------------------------------------------------------------------------------------
>
>                 Key: SOLR-12591
>                 URL: https://issues.apache.org/jira/browse/SOLR-12591
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public)
>            Reporter: David Smiley
>            Assignee: David Smiley
>            Priority: Minor
>             Fix For: master (8.0)
>
>
> ParseDateFieldUpdateProcessorFactory should ideally be able to handle the cases that ExtractionDateUtil does in the "extraction" contrib module.  Tests should be added, ported from patches in SOLR-12561 that enhance TestExtractionDateUtil to similarly ensure the URP is tested.  I think in this issue, I should switch out Joda time for java.time as well (though leave the complete removal for SOLR-12586) if it any changes are actually necessary – they probably will be.
> Once this issue is complete, it should be appropriate to gut date time parsing out of the "extraction" contrib module – a separate issue. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]