lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] Commented: (LUCENE-1987) Remove rest of analysis deprecations (Token, CharacterCache)
Date Sun, 18 Oct 2009 13:28:31 GMT


Michael McCandless commented on LUCENE-1987:

bq. How should we handle the deprecated settings inside? 

For "replace invalid acronym" in StandardAnalyzer, there is no version setting that enables
that currently, so I'm afraid we must keep those until 4.0 (since they impact your index by
altering analysis)?  Or, maybe we could add a Versions.LUCENE_23, which'd re-enable that bug
(the default for that setting changed to "true" (= fix the bug) in 2.4).  Hmm.

For "stop position increments" in StandardAnalyzer, I think we should remove the direct getter/setters
and expose only Versions.LUCENE_24 to get back to that behavior?

StopFilter should keep its "stop position increments" setting (it's not deprecated).

> Remove rest of analysis deprecations (Token, CharacterCache)
> ------------------------------------------------------------
>                 Key: LUCENE-1987
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Task
>          Components: Analysis
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>             Fix For: 3.0
>         Attachments: LUCENE-1987.patch, LUCENE-1987.patch, LUCENE-1987.patch
> These removes the rest of the deprecations in the analysis package:
> - -Token's termText field-- (DONE)
> - -eventually un-deprecate ctors of Token taking Strings (they are still useful) ->
if yes remove deprec in 2.9.1- (DONE)
> - -remove CharacterCache and use Character.valueOf() from Java5- (DONE)
> - Stopwords lists
> - Remove the backwards settings from analyzers (acronym, posIncr,...). They are deprecated,
but we still have the VERSION constants. Do not know, how to proceed. Keep the settings alive
for index compatibility? Or remove it together with the version constants (which were undeprecated).

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message