lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From laimis <>
Subject [GitHub] lucenenet pull request: LineFileDocs fix
Date Sat, 07 Mar 2015 19:09:59 GMT
GitHub user laimis opened a pull request:

    LineFileDocs fix

    Test helper class LineFileDocs generates test documents with the smallest id set to 1
instead of 0. Tests that expected docId:0 to be in the index failed as a result. Changed the
implementation to get the value of id first and then increment, which matches what Lucene
is doing:
    With the fix TestNRTThreads.TestNRTThreads_Mem and TestSearcherManager.TestSearcherManager_Mem
now pass. Here are the failures in TC:

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

    $ git pull LineDocs_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 #124
commit 80bcdfaf19e1f6708007c3c6c885f61a44e0355a
Author: Laimonas Simutis <>
Date:   2015-03-07T19:05:08Z

    make sure ids start with 0 and not 1

commit 6bbe71ffe4b450a830097adb137adb6fb4c76196
Author: Laimonas Simutis <>
Date:   2015-03-07T19:05:33Z

    output deleted ids for easier debugging


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