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:
parent
2b87bbf32e
commit
9e35ea3775
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user