[
https://issues.apache.org/jira/browse/SOLR-1367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12744788#action_12744788
]
Yonik Seeley commented on SOLR-1367:
------------------------------------
It seems in this case that iteration is more straight-forward and easier to
understand, and offers the same performance.
> 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.