Shad Storhaug created LUCENENET-624:
---------------------------------------
Summary: Fix asserts that are failing on .NET Standard 2.0
Key: LUCENENET-624
URL: https://issues.apache.org/jira/browse/LUCENENET-624
Project: Lucene.Net
Issue Type: Bug
Components: Lucene.Net Core
Affects Versions: Lucene.Net 4.8.0
Reporter: Shad Storhaug
There are a few asserts that fail on .NET Standard 2.0. They have been
conditionally compiled out of the code due to the fact that on .NET Core 2.1
they cause the test runner to fatally crash, however these are a sign that
something could be seriously wrong with the codecs (possibly causing index
corruption).
Here are the known failures:
*
[Lucene3xTermVectorsReader|https://github.com/apache/lucenenet/blob/ecf62129099d04a95edce3fca1243c7b4d2fac6b/src/Lucene.Net/Codecs/Lucene3x/Lucene3xTermVectorsReader.cs#L822-L828]
*
[Lucene40TermVectorsReader|https://github.com/apache/lucenenet/blob/ecf62129099d04a95edce3fca1243c7b4d2fac6b/src/Lucene.Net/Codecs/Lucene40/Lucene40TermVectorsReader.cs#L811-L815]
*
[BlockTreeTermsWriter|https://github.com/apache/lucenenet/blob/ecf62129099d04a95edce3fca1243c7b4d2fac6b/src/Lucene.Net/Codecs/BlockTreeTermsWriter.cs#L437-L439]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)