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

Alan Woodward commented on LUCENE-9545:
---------------------------------------

Nudging this one back to life again with a PR: 
https://github.com/apache/lucene/pull/154/files

> Remove Analyzer.get/setVersion()
> --------------------------------
>
>                 Key: LUCENE-9545
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9545
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Major
>
> In days of yore, some lucene Analyzers would change their behaviour depending 
> on a version constant, so you could say 'use this analyzer in the way that it 
> would have worked in lucene 2.1'.  However, we have no Analyzers that make 
> use of this in the 9x or 8x lines, and I think it's pretty confusing 
> behaviour anyway.  We have factories to configure analyzers, and 
> version-specific behaviour can reside there if we really need it.  We should 
> just remove this functionality from Analyzer altogether.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to