Preconditions.checkNotNull(highlighterPrefix, "highlighter prefix cannot be null. Use \"\" instead.");
HIGHLIGHTER_PREFIX = highlighterPrefix;
Preconditions.checkNotNull(highlighterSuffix, "highlighter suffix cannot be null. Use \"\" instead.");
HIGHLIGHTER_SUFFIX = highlighterSuffix;
this.searcher = searcher;
this.queryParser = new QueryParser();
if ( 0 == snippetOfFields.length){
String msg= "Creating a SnippetSearcher, but Searcher.snippetOfFields is empty";
logger.error(msg);// throw new IllegalArgumentException("msg");
}