James Moger
2012-03-19 73fba6ef98209406f1cf5f2ee00a9dc384b4a2fc
src/com/gitblit/LuceneExecutor.java
@@ -1124,7 +1124,7 @@
      Highlighter highlighter = new Highlighter(formatter, scorer);      
      highlighter.setTextFragmenter(fragmenter);
      
      String [] fragments = highlighter.getBestFragments(analyzer, "content", content, 5);
      String [] fragments = highlighter.getBestFragments(analyzer, "content", content, 3);
      if (ArrayUtils.isEmpty(fragments)) {
         if (SearchObjectType.blob  == result.type) {
            return "";