[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to