Alan Woodward created LUCENE-9545: ------------------------------------- Summary: 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
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