### Question:
LuceneSerializer { protected Query lt(Operation<?> operation, QueryMetadata metadata) { verifyArguments(operation); Path<?> path = getPath(operation.getArg(0)); return range( path, toField(path), null, operation.getArg(1), false, false, metadata); } LuceneSerializer(boolean lowerCase, boolean splitTerms);  LuceneSerializer(boolean lowerCase, boolean splitTerms, Locale sortLocale); Query toQuery(Expression<?> expr, QueryMetadata metadata); Sort toSort(List<? extends OrderSpecifier<?>> orderBys); static final LuceneSerializer DEFAULT; }### Answer:
@Test public void lt() throws Exception { testQuery(rating.lt("Superb"), "rating:{* TO superb}", 1); }
@Test public void lt_numeric_integer() throws Exception { testQuery(year.lt(1991), "year:{* TO 1991}", 1); }
@Test public void lt_numeric_double() throws Exception { testQuery(gross.lt(10000.0), "gross:{* TO 10000.0}", 1); }
@Test public void lt_not_in_range_because_equal() throws Exception { testQuery(rating.lt("Good"), "rating:{* TO good}", 0); }
@Test public void lt_numeric_integer_not_in_range_because_equal() throws Exception { testQuery(year.lt(1990), "year:{* TO 1990}", 0); }
@Test public void lt_numeric_double_not_in_range_because_equal() throws Exception { testQuery(gross.lt(900.0), "gross:{* TO 900.0}", 0); }