mirror of https://github.com/apache/lucene.git
fixed previous commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1144304 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0a79de7a99
commit
c274cb5309
|
@ -410,7 +410,7 @@ public class InstantiatedIndexReader extends IndexReader {
|
|||
// do it up front & cache
|
||||
long sum = 0;
|
||||
int upto = i;
|
||||
while(upto < orderedTerms.length && orderedTerms[i].equals(field)) {
|
||||
while(upto < orderedTerms.length && orderedTerms[i].field().equals(field)) {
|
||||
sum += orderedTerms[i].getTotalTermFreq();
|
||||
upto++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue