[
https://issues.apache.org/jira/browse/LUCENENET-252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Garski updated LUCENENET-252:
-------------------------------------
Attachment: LUCENENET-252.patch
Summary of the changes:
1) FieldCache: Java & .NET differ in how a the float parsing handles an
overflow. If you try to parse a double as a float in Java, you'll end up with
an infinity where .NET gives you an overflow. The test
TestFieldCache.TestInfoStream depends upon the Java behavior, so I altered the
float parsing to be Java-like.
2) TestDocBoost: extra ctor removal
3) TestElevationComarator: fixed DocVal method
4) TestFieldCache: extra ctor removal, round-trip support for double/float to
string and back, and infostream flushing to ensure the data is in the stream
before reading it.
> TestDocBoost, TestElevationComparator, TestFieldCache
> -----------------------------------------------------
>
> Key: LUCENENET-252
> URL: https://issues.apache.org/jira/browse/LUCENENET-252
> Project: Lucene.Net
> Issue Type: Bug
> Reporter: Michael Garski
> Attachments: LUCENENET-252.patch
>
>
> Fixes coming for these three in a moment...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.