lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "DM Smith (JIRA)" <>
Subject [jira] Commented: (LUCENE-2094) Prepare CharArraySet for Unicode 4.0
Date Mon, 30 Nov 2009 21:09:20 GMT


DM Smith commented on LUCENE-2094:

bq. If you create the StopFilter with Version.LUCENE_29 it is enabled. If you pass this version
to QP, it's enabled, too. Very simple?

Yes. But, IMHO, this seems like advocating that a desired behavior be gained by a backward
compatibility mechanism.

I see two problems in using Version to enable position increments (or any other particular
a) If a prior behavior is desired now, one should not need to use a prior Version to get it.
b) Version codifies a particular combination of behavior. It does not allow for rolling one's

Make that 3 problems:
c) At some point a prior version's behavior will/should be removed.

It seems like this was discussed at length for creating a Settings object. I'd rather see
Attribute/AttributeSources used for such a thing than Version.

> Prepare CharArraySet for Unicode 4.0
> ------------------------------------
>                 Key: LUCENE-2094
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Analysis
>    Affects Versions: 1.9, 2.0.0, 2.1, 2.2, 2.3, 2.3.1, 2.3.2, 2.3.3, 2.4, 2.4.1, 2.4.2,
2.9, 2.9.1, 2.9.2, 3.0, 3.0.1, 3.1
>            Reporter: Simon Willnauer
>            Assignee: Uwe Schindler
>             Fix For: 3.1
>         Attachments: LUCENE-2094.patch, LUCENE-2094.patch, LUCENE-2094.patch, LUCENE-2094.patch,
LUCENE-2094.patch, LUCENE-2094.txt, LUCENE-2094.txt, LUCENE-2094.txt
> CharArraySet does lowercaseing if created with the correspondent flag. This causes that
 String / char[] with uncode 4 chars which are in the set can not be retrieved in "ignorecase"

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