SOLR-5260: Faceting on a field in SolrCloud with docValues=true and indexed=false fails, test fix

This commit is contained in:
Erick Erickson 2016-11-26 22:12:16 -08:00
parent e4733f696e
commit 500c2befe9
1 changed files with 0 additions and 17 deletions

View File

@ -256,23 +256,6 @@ public class DocValuesNotIndexedTest extends SolrCloudTestCase {
for (int idx = 0; idx < res.size(); ++idx) {
if (prop.getName().startsWith("bool")) expected = orderBool[idx];
else expected = order[idx];
//nocommit
if (res.get(idx).get("id").equals(expected) == false) {
for (int jdx = 0; jdx < order.length; ++jdx) {
System.out.println(String.format("EOEOE Val in doc %s for field %s is %s",
res.get(jdx).get("id"),
prop.getName(),
res.get(jdx).get(prop.getName())));
}
for (int jdx = 0; jdx < order.length; ++jdx) {
System.out.println(String.format("EOEOE order pos %d is %s", jdx, order[jdx]));
}
for (int jdx = 0; jdx < orderBool.length; ++jdx) {
System.out.println(String.format("EOEOE bool order pos %d is %s", jdx, orderBool[jdx]));
}
}
assertEquals("Documents in wrong order for field: " + prop.getName(),
expected, res.get(idx).get("id"));
}