You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2009/04/06 17:10:13 UTC

[jira] Assigned: (LUCENE-1587) RangeQuery equals method does not compare collator property fully

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

Mark Miller reassigned LUCENE-1587:
-----------------------------------

    Assignee: Mark Miller

> RangeQuery equals method does not compare collator property fully
> -----------------------------------------------------------------
>
>                 Key: LUCENE-1587
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1587
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Search
>    Affects Versions: 2.4.1
>            Reporter: Mark Platvoet
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 2.9
>
>
> The equals method in the range query has the collator comparison implemented as:
> (this.collator != null && ! this.collator.equals(other.collator))
> When _this.collator = null_ and _other.collator = someCollator_  this method will incorrectly assume they are equal. 
> So adding something like
> || (this.collator == null && other.collator != null)
> would fix the problem

-- 
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