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

Grant Ingersoll commented on SOLR-1367:
---------------------------------------

B/c docListToSolrDocList also requires looping over the DocList.  So, in the 
old case, you've iterated the DocList twice.  In the new way, you only iterated 
it once.

> Provide Callback mechanism for SolrPluginUtils.docListToSolrDocumentList
> ------------------------------------------------------------------------
>
>                 Key: SOLR-1367
>                 URL: https://issues.apache.org/jira/browse/SOLR-1367
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: SOLR-1367.patch
>
>
> Sometimes SearchComponents need to modify the DocList.  Often times this 
> requires two loops over the (Solr)DocList: once to convert the DocList to 
> SolrDocList and then once to iterate the SolrDocList for the Search 
> Component.  This can be seen in SOLR-773, for example.

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