lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (LUCENE-1450) RangeQuery & RangeFilter used with collation seek to lowerTerm using compareTo()
Date Wed, 12 Nov 2008 09:45:44 GMT

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

Michael McCandless resolved LUCENE-1450.
----------------------------------------

       Resolution: Fixed
    Lucene Fields: [New, Patch Available]  (was: [Patch Available, New])

Committed revision 713332.  Thanks Steve!

> RangeQuery & RangeFilter used with collation seek to lowerTerm using compareTo()
> --------------------------------------------------------------------------------
>
>                 Key: LUCENE-1450
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1450
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 2.9
>            Reporter: Steven Rowe
>            Assignee: Michael McCandless
>            Priority: Minor
>             Fix For: 2.9
>
>         Attachments: LUCENE-1450.patch
>
>
> The constructor for RangeTermEnum initializes a TermEnum starting with lowerTermText,
but when a collator is defined, all terms in the given field need to be checked, since collation
can introduce non-Unicode orderings.  Instead, the RangeTermEnum constructor should test for
a non-null collator, and if there is one, point the TermEnum at the first term in the given
field.
> LUCENE-1424 introduced this bug.

-- 
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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message