[
https://issues.apache.org/jira/browse/LUCENENET-221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nicholas Paldino updated LUCENENET-221:
---------------------------------------
Attachment: TermsHashPerField.patch
ArrayUtil.patch
First, created a Fill method on the ArrayUtils that mimics the fill method on
the Array class in Java:
http://java.sun.com/j2se/1.4.2/docs/api/java/util/Arrays.html
Then, updated the code in TermsHashPerField to more closely mimic the current
version of the reset function in Java:
http://svn.apache.org/repos/asf/lucene/java/trunk/src/java/org/apache/lucene/index/TermsHashPerField.java
The current implementation was looping through to numPostingsInt, not
numPostings, and the correction made.
> Lucene.Net.Index.TestAddIndexesNoOptimize.TestHangOnClose fails
> ---------------------------------------------------------------
>
> Key: LUCENENET-221
> URL: https://issues.apache.org/jira/browse/LUCENENET-221
> Project: Lucene.Net
> Issue Type: Bug
> Reporter: Nicholas Paldino
> Priority: Blocker
> Attachments: ArrayUtil.patch, TermsHashPerField.patch
>
>
> As indicated in the subject, the TestHangOnClose method fails when run in
> NUnit.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.