GitHub user laimis opened a pull request:

    https://github.com/apache/lucenenet/pull/71

    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 https://github.com/laimis/lucenenet bufferedupdates_fix

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

    https://github.com/apache/lucenenet/pull/71.patch

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 <[email protected]>
Date:   2015-02-03T11:09:46Z

    fix empty if statement

commit 0275b4dafa908b301870bdb19b19b06ee76ee789
Author: Laimonas Simutis <[email protected]>
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to