Better error message for numeric range facet if there's no numeric value.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1551 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
David Huynh 2010-10-15 01:00:51 +00:00
parent 2b87bbf32e
commit 9e35ea3775

View File

@ -107,6 +107,8 @@ public class RangeFacet implements Facet {
writer.key(FROM); writer.value(_from);
writer.key(TO); writer.value(_to);
} else {
writer.key("error"); writer.value("No numeric value present.");
}
writer.key("baseNumericCount"); writer.value(_baseNumericCount);