lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Troy Howard (JIRA)" <>
Subject [Lucene.Net] [jira] [Issue Comment Edited] (LUCENENET-437) Port Contrib.Shingle from Java
Date Mon, 18 Jul 2011 21:56:58 GMT


Troy Howard edited comment on LUCENENET-437 at 7/18/11 9:56 PM:

I assume you're referring to the issue found here:

I am aware of that issue.. however the implementation in ListComparer is exactly the behaviour
of Java. I copied the implementation straight from the Java docs.

The issue you're describing is more of a problem with the .NET implementation of GetHashcode()
rather than the correctness of using hashcode for comparison. 

See (for implementation):

Anyhow, I'll update this to use SupportClass.EquatableList since it allows the code to pass
unit tests, and also not have that particular problem.

      was (Author: thoward37):
    I assume you're referring to the issue found here:
> Port Contrib.Shingle from Java
> ------------------------------
>                 Key: LUCENENET-437
>                 URL:
>             Project: Lucene.Net
>          Issue Type: Task
>          Components: Lucene.Net Contrib, Lucene.Net Test
>    Affects Versions: Lucene.Net 2.9.4, Lucene.Net 2.9.4g
>            Reporter: Troy Howard
>            Assignee: Troy Howard
>            Priority: Minor
>             Fix For: Lucene.Net 2.9.4, Lucene.Net 2.9.4g
> Port Contrib.Shingle from Java

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message