You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Commit Tag Bot (JIRA)" <ji...@apache.org> on 2013/03/22 17:23:21 UTC

[jira] [Commented] (SOLR-3992) QuerySenderListener doesn't populate document cache

    [ https://issues.apache.org/jira/browse/SOLR-3992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13610633#comment-13610633 ] 

Commit Tag Bot commented on SOLR-3992:
--------------------------------------

[branch_4x commit] Yonik Seeley
http://svn.apache.org/viewvc?view=revision&revision=1402390

SOLR-3992: QuerySenderListener doesn't populate document cache

                
> QuerySenderListener doesn't populate document cache
> ---------------------------------------------------
>
>                 Key: SOLR-3992
>                 URL: https://issues.apache.org/jira/browse/SOLR-3992
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 4.0
>            Reporter: Shotaro Kamio
>             Fix For: 4.1
>
>
> QuerySenderListner class can be used to populate cache on startup of solr (firstSearcher event). The code looks trying to populate document cache also. But it doesn't.
> {code}
>         NamedList values = rsp.getValues();
>         for (int i=0; i<values.size(); i++) {
>           Object o = values.getVal(i);
>           if (o instanceof DocList) {
> {code}
> It is because value of response object uses ResultContext object to store document list, not DocList object.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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