Search returns blank page, when there are more than one SOLR server configured 
-------------------------------------------------------------------------------

                 Key: NUTCH-941
                 URL: https://issues.apache.org/jira/browse/NUTCH-941
             Project: Nutch
          Issue Type: Bug
          Components: searcher
    Affects Versions: 1.2
            Reporter: Charan Malemarpuram


Search returns a blank page throwing the following exception in the log file.

java.lang.RuntimeException: Missing hit details! Found: 7, expecting: 8
        at 
org.apache.nutch.searcher.SolrSearchBean.getDetails(SolrSearchBean.java:175)
        at 
org.apache.nutch.searcher.DistributedSearchBean$DetailTask.call(DistributedSearchBean.java:92)

This happens, when there are more than one SOLR servers configured for search.

Root cause of this issue is the 
 NutchBean dedup logic does a "contains" check on a Map of Hit objects . 
 Hit objects do not have hashcode and equals implemented. It is matching by 
reference, when this requests for more hits to because of site grouping, it 
gets a totally new objec



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to