lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From laimis <>
Subject [GitHub] lucenenet pull request: BufferedUpdates fix
Date Tue, 03 Feb 2015 21:39:18 GMT
GitHub user laimis opened a pull request:

    BufferedUpdates fix

    BufferedUpdates in Lucene use LinkedHashMap which preserves the order of the insertion
of values when the collection is iterated over. During the port LinkedHashMap was switched
to HashMap and order was lost. Without order preserved, there are cases when multiple updates
to a field value will not always have the latest update in the index.
    This fixes failures in Lucene.Net.Index.TestBinaryDocValuesUpdates / TestNumericDocValuesUpdates
and possible other tests.

You can merge this pull request into a Git repository by running:

    $ git pull bufferedupdates_fix

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #71
commit 107238d13e523f9a4fb41f5c37afb0d1279a2ffe
Author: Laimonas Simutis <>
Date:   2015-02-03T11:09:46Z

    fix empty if statement

commit 0275b4dafa908b301870bdb19b19b06ee76ee789
Author: Laimonas Simutis <>
Date:   2015-02-03T21:34:13Z

    use OrderedDictionary to preserve insertion order


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message