use of org.apache.solr.client.solrj.io.eval.StreamEvaluator in project lucene-solr by apache.
the class LessThanEqualToEvaluatorTest method lteDifferentTypes2.
@Test(expected = IOException.class)
public void lteDifferentTypes2() throws Exception {
StreamEvaluator evaluator = factory.constructEvaluator("lte(a,b)");
values.clear();
values.put("a", 1);
values.put("b", false);
evaluator.evaluate(new Tuple(values));
}
use of org.apache.solr.client.solrj.io.eval.StreamEvaluator in project lucene-solr by apache.
the class LessThanEqualToEvaluatorTest method lteDifferentTypes3.
@Test(expected = IOException.class)
public void lteDifferentTypes3() throws Exception {
StreamEvaluator evaluator = factory.constructEvaluator("lte(a,b)");
values.clear();
values.put("a", "1");
values.put("b", 1);
evaluator.evaluate(new Tuple(values));
}
use of org.apache.solr.client.solrj.io.eval.StreamEvaluator in project lucene-solr by apache.
the class LessThanEvaluatorTest method ltDifferentTypes3.
@Test(expected = IOException.class)
public void ltDifferentTypes3() throws Exception {
StreamEvaluator evaluator = factory.constructEvaluator("lt(a,b)");
values.clear();
values.put("a", "1");
values.put("b", 1);
evaluator.evaluate(new Tuple(values));
}
use of org.apache.solr.client.solrj.io.eval.StreamEvaluator in project lucene-solr by apache.
the class LessThanEvaluatorTest method ltDifferentTypes2.
@Test(expected = IOException.class)
public void ltDifferentTypes2() throws Exception {
StreamEvaluator evaluator = factory.constructEvaluator("lt(a,b)");
values.clear();
values.put("a", 1);
values.put("b", false);
evaluator.evaluate(new Tuple(values));
}
use of org.apache.solr.client.solrj.io.eval.StreamEvaluator in project lucene-solr by apache.
the class LessThanEvaluatorTest method ltDifferentTypes1.
@Test(expected = IOException.class)
public void ltDifferentTypes1() throws Exception {
StreamEvaluator evaluator = factory.constructEvaluator("lt(a,b)");
values.clear();
values.put("a", true);
values.put("b", 1);
evaluator.evaluate(new Tuple(values));
}
Aggregations