lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adriano Crestani (JIRA)" <>
Subject [jira] Updated: (LUCENE-2867) Change contrib QP API that uses CharSequence as string identifier
Date Thu, 13 Jan 2011 23:00:52 GMT


Adriano Crestani updated LUCENE-2867:

    Attachment: lucene_2867_adriano_crestani_2011_01_13.patch

Here is the patch that deprecates methods using CharSequence. Can someone please review if
I did the API deprecation correctly?

I was thinking initially that deprecated methods would be removed on version 4, I'm not sure
anymore. Will it be removed on 4 or 3.1?

> Change contrib QP API that uses CharSequence as string identifier
> -----------------------------------------------------------------
>                 Key: LUCENE-2867
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: contrib/*
>    Affects Versions: 3.0.3
>            Reporter: Adriano Crestani
>            Priority: Minor
>             Fix For: 3.0.4
>         Attachments: lucene_2867_adriano_crestani_2011_01_13.patch
> There are some API methods on contrib queryparser that expects CharSequence as identifier.
This is wrong, since it may lead to incorrect or mislead behavior, as shown on LUCENE-2855.
To avoid this problem, these APIs will be changed and enforce the use of String instead of
CharSequence on version 4. This patch already deprecate the old API methods and add new substitute
methods that uses only String.

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