Skip to content

Commit 008ee46

Browse files
committed
rebase
1 parent 5d762ff commit 008ee46

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lucene/core/src/java/org/apache/lucene/util/fst/NodeHash.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,11 @@ private int nodesEqual(FSTCompiler.UnCompiledNode<T> node, long address, long ha
408408
return -1;
409409
}
410410
break;
411+
case FST.ARCS_FOR_CONTINUOUS:
412+
if ((node.arcs[node.numArcs - 1].label - node.arcs[0].label + 1) != scratchArc.numArcs()) {
413+
return -1;
414+
}
415+
break;
411416
default:
412417
throw new AssertionError("unhandled scratchArc.nodeFlag() " + scratchArc.nodeFlags());
413418
}

0 commit comments

Comments
 (0)