fix wrong iteration when getting back terms
This commit is contained in:
parent
a8af609eba
commit
e70bec79cd
|
@ -101,9 +101,9 @@ public class ShardTermsResponse extends BroadcastShardOperationResponse {
|
|||
out.writeUTF(entry.getKey());
|
||||
out.writeInt(entry.getValue().size());
|
||||
for (TObjectIntIterator<String> it = entry.getValue().iterator(); it.hasNext();) {
|
||||
it.advance();
|
||||
out.writeUTF(it.key());
|
||||
out.writeInt(it.value());
|
||||
it.advance();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue