Hello,

I am using nutch version 1.13. There might be mistakenly used logical
operators in the code from line 259 to 262 of the class
org.apache.nutch.indexer.IndexerMapReduce.

The logical operators used are OR ||. I think the correct logical
operators should be AND &&. The comment in line 261 says "only have
inlinks", which also indicates the logical operators should be AND.

Line 259 to 262 of org.apache.nutch.indexer.IndexerMapReduce are copied below.

    if (fetchDatum == null || dbDatum == null || parseText == null

        || parseData == null) {

      return; // only have inlinks

    }

Development team please have a look at the code and determine whether
it is wrong. Thanks.

Best,
Junqiang

Reply via email to