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

Markus Jelsma updated SOLR-3518:
--------------------------------

    Attachment: SOLR-3518-4.0-1.patch

Patch for trunk adding the `hits` field to the SolrQueryResponse's NamedList. 
It's only returned in the final response, not in intermediate shardrequests in 
a distributed search.

Most likely not a good solution but it seems to work fine for now. Please 
improve.
                
> No `hits` in SolrResp. NamedList if distrib=true
> ------------------------------------------------
>
>                 Key: SOLR-3518
>                 URL: https://issues.apache.org/jira/browse/SOLR-3518
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>    Affects Versions: 4.0
>         Environment: 5.0-SNAPSHOT 1346798 - markus - 2012-06-06 11:38:15
>            Reporter: Markus Jelsma
>            Priority: Minor
>             Fix For: 4.0
>
>         Attachments: SOLR-3518-4.0-1.patch
>
>
> The hits field in the NamedList obtained from SolrQueryResponse.toLog() is 
> not available for distrib=true requests. The hits fields is also not written 
> to the log.
> See also:: 
> http://lucene.472066.n3.nabble.com/SolrDispatchFilter-no-hits-in-response-NamedList-if-distrib-true-td3987751.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to