fix bug in MultiDocValues

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1438196 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2013-01-24 21:13:08 +00:00
parent 1baf2acb99
commit 4b329aa64d
2 changed files with 1 additions and 1 deletions

View File

@ -144,6 +144,7 @@ public class MultiDocValues {
values.get(docID - leaves.get(subIndex).docBase, result);
} else {
result.length = 0;
result.offset = 0;
result.bytes = BinaryDocValues.MISSING;
}
}

View File

@ -22,7 +22,6 @@ import org.apache.lucene.index.Term;
/**
* TestExplanations subclass focusing on basic query types
*/
// nocommit: WTF ant test -Dtestcase=TestSimpleExplanations -Dtests.method=testFQ2 -Dtests.seed=ED13809D5BBA6703 -Dtests.slow=true -Dtests.locale=fr_CH -Dtests.timezone=Brazil/Acre -Dtests.file.encoding=US-ASCII
public class TestSimpleExplanations extends TestExplanations {
// we focus on queries that don't rewrite to other queries.