GitHub user laimis opened a pull request:

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

    handle null DocValuesType appropriately

    Lucene42FieldInfosReader was incorrectly treating "0" docValueType byte and 
returning essentially NUMERIC when it should have returned null. You can see 
the writer Lucene42FieldInfosWriter 
(https://github.com/apache/lucenenet/blob/master/src/Lucene.Net.TestFramework/Codecs/lucene42/Lucene42FieldInfosWriter.cs#L118)
 writing null for 0.
    
    Fixes "Check Index Failed" failures that can be seen in tests whenever 
Lucene42 codec is used.

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

    $ git pull https://github.com/laimis/lucenenet Lucene42FieldInfosReader_fix

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

    https://github.com/apache/lucenenet/pull/48.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 #48
    
----
commit 3ecdbb1071bf7b5b80aa94b782992bd8f7b44eaa
Author: Laimonas Simutis <[email protected]>
Date:   2015-01-16T02:30:58Z

    handle null DocValuesType appropriately

----


---
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