nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sujen1412 <...@git.apache.org>
Subject [GitHub] nutch pull request: Fix for NUTCH-2245 NGram Model for Cosine Simi...
Date Sun, 03 Apr 2016 02:17:48 GMT
Github user sujen1412 commented on a diff in the pull request:

    https://github.com/apache/nutch/pull/101#discussion_r58303167
  
    --- Diff: src/plugin/scoring-similarity/src/java/org/apache/nutch/scoring/similarity/cosine/Model.java
---
    @@ -115,6 +126,7 @@ public static DocVector createDocVector(String content) {
           tStream.reset();
           while(tStream.incrementToken()) {
             String term = charTermAttribute.toString();
    +        LOG.info(term);
    --- End diff --
    
    This seems like its used for debugging, please change it to LOG.debug(). It helps keeping
the log clean. 
    Thanks!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message