lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From laimis <...@git.apache.org>
Subject [GitHub] lucenenet pull request: handle null DocValuesType appropriately
Date Fri, 16 Jan 2015 02:37:08 GMT
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 <laimis@gmail.com>
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message