mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
ZEPPELIN-501: stop printing whole note in logs
This commit is contained in:
parent
f30e6c8db4
commit
d2b44ac955
1 changed files with 1 additions and 2 deletions
|
|
@ -143,8 +143,7 @@ public class SearchService {
|
|||
TokenStream tokenStream = TokenSources.getTokenStream(searcher.getIndexReader(), id,
|
||||
SEARCH_FIELD, analyzer);
|
||||
TextFragment[] frag = highlighter.getBestTextFragments(tokenStream, text, true, 3);
|
||||
// TODO(bzz): remove this as too verbose
|
||||
LOG.info(" {} fragments found for query '{}' in '{}'", frag.length, query, text);
|
||||
LOG.info(" {} fragments found for query '{}'", frag.length, query);
|
||||
for (int j = 0; j < frag.length; j++) {
|
||||
if ((frag[j] != null) && (frag[j].getScore() > 0)) {
|
||||
LOG.info(" Fragment: {}", frag[j].toString());
|
||||
|
|
|
|||
Loading…
Reference in a new issue