Github user Chand2048 commented on the pull request:

    https://github.com/apache/lucenenet/pull/95#issuecomment-73920815
  
    The test I was working on was 
Lucene.Next.Index.TestPrefixCodedTerms.TestMergeRandom
    I added a huge amount of test code to narrow down the problem and found 
that the MergedIterator's use of the PriorityQueue ended up returning terms out 
of order. An alternate solution would be to modify the random Unicode string 
generator to not include \0 chars. This also fixed it but digging deeper the 
default comparison for java is ordinal so this should match a port better.


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