You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Charan Malemarpuram (JIRA)" <ji...@apache.org> on 2010/12/02 20:58:11 UTC

[jira] Updated: (NUTCH-941) Search returns blank page, when there is more than one SOLR server configured

     [ https://issues.apache.org/jira/browse/NUTCH-941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charan Malemarpuram updated NUTCH-941:
--------------------------------------

    Description: 
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 is more than one SOLR server 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 NutchBean requests for more hits to process site based result grouping,  it gets a new object every time from SOLR result and the whole logic breaks.




  was:
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



        Summary: Search returns blank page, when there is more than one SOLR server configured   (was: Search returns blank page, when there are more than one SOLR server configured )

> Search returns blank page, when there is 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 is more than one SOLR server 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 NutchBean requests for more hits to process site based result grouping,  it gets a new object every time from SOLR result and the whole logic breaks.

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