From a5bef30be949ee30d33ec12a8c7b95dbc8424209 Mon Sep 17 00:00:00 2001 From: Igor Motov Date: Sat, 3 Nov 2012 19:08:04 -0400 Subject: [PATCH] lucene4: fixed CompressIndexInputOutputTests --- .../unit/common/compress/CompressIndexInputOutputTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/elasticsearch/test/unit/common/compress/CompressIndexInputOutputTests.java b/src/test/java/org/elasticsearch/test/unit/common/compress/CompressIndexInputOutputTests.java index 42465aaf269..4111466b980 100644 --- a/src/test/java/org/elasticsearch/test/unit/common/compress/CompressIndexInputOutputTests.java +++ b/src/test/java/org/elasticsearch/test/unit/common/compress/CompressIndexInputOutputTests.java @@ -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); }