params.build();
fail("Expected an IllegalStateException because offset is not allowed if no thesaurus is defined");
} catch (IllegalStateException e) {
// good
}
params.addThesaurus(thesaurus.getKey());
searcher.search(params.build());
assertEquals(keywords-5, searcher.getNbResults());
params.addThesaurus(thesaurusBlah.getKey());
try {