TermComponentIndex sort problem.
pengchengluo opened this issue · 2 comments
pengchengluo commented
jerrygaoLondon commented
Issue caused by new java sort algorithm in jdk1.8. will need to be fixed later. Workaround is to pass "-Djava.util.Arrays.useLegacyMergeSort=true" to java/jvm
pengchengluo commented
@jerrygaoLondon Thank you for your reply. My another question is why the lambda funtion compare o2.first to o1.second. The first element is a string, but the second element is a integer. Is this a logical error?