You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Markus Jelsma (JIRA)" <ji...@apache.org> on 2012/06/11 14:23:44 UTC

[jira] [Updated] (SOLR-3518) No `hits` in SolrResp. NamedList if distrib=true

     [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org