You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ryan Ernst (JIRA)" <ji...@apache.org> on 2014/08/22 23:46:13 UTC

[jira] [Updated] (LUCENE-5900) Version cleanup

     [ https://issues.apache.org/jira/browse/LUCENE-5900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan Ernst updated LUCENE-5900:
-------------------------------

    Attachment: LUCENE-5900.patch

Patch with:
* Adding constructors for {{AnalyzingInfixSuggester}} and {{BlendedInfixSuggester}} which use the {{Version}} from the passed in analyzer.  Deprecated the old constructors.
* Added constructor to {{ICUCollationKeyAnalyzer}} which does not take a {{Version}} and deprecated the old constructor.
* Removed {{TEST_VERSION_CURRENT}}.  Replaces with {{Version.LATEST}} where necessary, or just used an alternate function/ctor that didn't take {{Version}}.
* Removed {{FacetExamples.java}}.  It's only member, {{EXAMPLES_VER}}, was not used.
* Removed all {{:Post-Release-Update-Version:}} notes. Many were already dead comments, and the rest could be replaced either with Version.CURRENT, or have version removed from the example.

> Version cleanup
> ---------------
>
>                 Key: LUCENE-5900
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5900
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Ryan Ernst
>         Attachments: LUCENE-5900.patch
>
>
> There are still a couple things taking {{Version}} in their constructor (AnalyzingInfixSuggester/BlendedInfixSuggester), {{TEST_VERSION_CURRENT}} isn't needed anymore, and there are a number of places with {{:Post-Release-Update-Version:}}, which should be possible to remove completely.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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