Assert.assertArrayEquals(new String[] { "field_2:[* TO 5]", "field_3:prefix*" }, solrQuery.getFacetQuery());
}
@Test
public void testWithFilterQuery() {
Query query = new SimpleQuery(new Criteria("field_1").is("value_1")).addFilterQuery(new SimpleFilterQuery(
new Criteria("filter_field").is("filter_value")));
SolrQuery solrQuery = queryParser.constructSolrQuery(query);
String[] filterQueries = solrQuery.getFilterQueries();
Assert.assertEquals(1, filterQueries.length);
Assert.assertEquals("filter_field:filter_value", filterQueries[0]);