You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Tomoko Uchida (JIRA)" <ji...@apache.org> on 2019/07/10 10:42:00 UTC

[jira] [Commented] (LUCENE-8907) Provide backward compatibility for loading analysis factories

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

Tomoko Uchida commented on LUCENE-8907:
---------------------------------------

There may be two options:

1. Completely emulate the factory loading method of Lucene 8.1. (i.e., copy the old logic and use it if the "NAME" field does not exist in a factory.)
2. Ignore factories which have no proper "NAME" field. (We have to note the behaviour somewhere.)

Either way, some warning messages would be helpful to let users know that they have to change their code by Lucene 9.0 (can we show such "warnings"?).

> Provide backward compatibility for loading analysis factories
> -------------------------------------------------------------
>
>                 Key: LUCENE-8907
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8907
>             Project: Lucene - Core
>          Issue Type: Task
>          Components: modules/analysis
>            Reporter: Tomoko Uchida
>            Priority: Blocker
>
> The changes in LUCENE-8778 have breaking changes in the analysis factory interface and  custom factories implemented by users / 3rd parties will be affected. We need to keep some backwards compatibility during 8.x.
> Please see the discussion in SOLR-13593 for details.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org