assertTrue("theSuggestion is null and it shouldn't be: " + blue,
theSuggestions != null);
assertTrue("theSuggestions Size: " + theSuggestions.size() + " is not: " + 2,
theSuggestions.size() == 2);//the word and the frequency
idx = blue.indexOf("suggestion", idx + 1);
assertTrue(idx + " does not equal: " + -1, idx == -1);
}
public void test() throws Exception {
SolrCore core = h.getCore();