mirror of
https://github.com/apache/lucene.git
synced 2025-02-28 21:39:25 +00:00
number of unique terms may not fit in int
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1074880 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
700804bfbf
commit
2e1eb3ee86
@ -91,7 +91,7 @@ public class Builder<T> {
|
||||
return fst.nodeCount;
|
||||
}
|
||||
|
||||
public int getTermCount() {
|
||||
public long getTermCount() {
|
||||
return frontier[0].inputCount;
|
||||
}
|
||||
|
||||
@ -422,7 +422,7 @@ public class Builder<T> {
|
||||
Arc<T>[] arcs;
|
||||
T output;
|
||||
boolean isFinal;
|
||||
int inputCount;
|
||||
long inputCount;
|
||||
|
||||
/** This node's depth, starting from the automaton root. */
|
||||
final int depth;
|
||||
|
Loading…
x
Reference in New Issue
Block a user