Assert.assertEquals("{!join from=inner_id to=outer_id}field_1:value_1", solrQuery.getQuery());
}
@Test
public void testConstructSolrQueryWithEmptyHighlightOption() {
SimpleHighlightQuery query = new SimpleHighlightQuery(new SimpleStringCriteria("field_1:value_1"));
query.setHighlightOptions(new HighlightOptions());
SolrQuery solrQuery = queryParser.constructSolrQuery(query);
Assert.assertTrue(solrQuery.getHighlight());
Assert.assertArrayEquals(new String[] { Criteria.WILDCARD }, solrQuery.getHighlightFields());