lucene4: fixed CompressIndexInputOutputTests

This commit is contained in:
Igor Motov 2012-11-03 19:08:04 -04:00 committed by Shay Banon
parent 3816366780
commit a5bef30be9
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ public class CompressIndexInputOutputTests {
Document document = reader.document(doc);
checkDoc(document);
DocumentStoredFieldVisitor visitor = new DocumentStoredFieldVisitor("id", "field", "count");
reader.document(i, visitor);
reader.document(doc, visitor);
document = visitor.getDocument();
checkDoc(document);
}