You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2014/07/21 10:28:38 UTC

[jira] [Resolved] (SOLR-5968) BinaryResponseWriter fetches unnecessary stored fields when only pseudo-fields are requested

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

Shalin Shekhar Mangar resolved SOLR-5968.
-----------------------------------------

       Resolution: Fixed
    Fix Version/s: 4.10
                   5.0

Thanks Gregg. I've committed your patch without the test. I can't quite figure out how to test it better either and this optimization is really useful.

> BinaryResponseWriter fetches unnecessary stored fields when only pseudo-fields are requested
> --------------------------------------------------------------------------------------------
>
>                 Key: SOLR-5968
>                 URL: https://issues.apache.org/jira/browse/SOLR-5968
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Gregg Donovan
>            Assignee: Shalin Shekhar Mangar
>            Priority: Minor
>             Fix For: 5.0, 4.10
>
>         Attachments: SOLR-5968-NOCOMMIT.diff, SOLR-5968.diff
>
>
> If fl contains only pseudo fields, BinaryResponseWriter will load unnecessary stored fields before discarding them. The call to SolrIndexSearcher#doc(int i, Set<String> fields) can be skipped for this case.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org