lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Anderson (OSG)" <>
Subject RE: Core tests
Date Tue, 03 Feb 2015 17:49:50 GMT
I have also been looking into the tests in Lucene.Net.Index and have a few fixes pushed to
master. This is my first time checking in changes with GIT and I am unclear if I did it correctly.

Change 1

Change 2

Today I hope to make some progress in 


-----Original Message-----
From: Laimonas Simutis [] 
Sent: Tuesday, February 3, 2015 3:54 AM
Subject: Re: Core tests

I am looking currently at the failures in Lucene.Net.Index.TestBinaryDocValuesUpdates and
found the culprits. The offending class is this one:

First fix is easy, remove the ; that got in there by mistake on line 285.
The second issue is that in Lucene this class is using LinkedHashMap structure. During the
port, a HashMap was used instead which breaks certain behaviors. Key feature of the LinkedHashMap
that Lucene is relying on appears to be the fact that the order of insertions is reflected
in the iteration of the values. You can see the failure if you run the TestUpdatesOrder class.

Has anyone dealt with LinkedHashMap before in .NET? Any implementation suggestions / pointers?

Due to the nature of this bug, it might be affecting more than just the tests in BinaryDocValuesUpdates.

On Sun, Feb 1, 2015 at 8:01 AM, Itamar Syn-Hershko <>

> I just fixed a couple more
> The Index namespace has some concurrency issues, but also many 
> failures which relate to the Store ones.
> --
> Itamar Syn-Hershko
> | @synhershko <> 
> Freelance Developer & Consultant Lucene.NET committer and PMC member
> On Sun, Feb 1, 2015 at 12:34 PM, Laimonas Simutis <>
> wrote:
> > With yesterday's PR which contains more merge related fixes, 
> >, we are reaching the
> milestone
> > of only 100 failing tests in core! Woot woot! (TC is showing 98, 
> > locally
> I
> > get ~104).
> >
> > From Codec tests in current core, Lucene40 still has 4 failures, so 
> > going after them next and then looking into Lucene.Net.Index test namespace.
> > Heads up in case anyone else is working on the tests there.
> >
> >
> > Laimonas
> >
View raw message