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

Noble Paul commented on SOLR-7622:
----------------------------------

please change the signature from 

{code:java}

  public String[] getExtraRequestFields() {
    return null;
  }  
{code}

to
{code:java}
  public Set<String> getExtraRequestFields() {
    return null;
  }  
{code}

array is a bad choice for an API because they are mutable
I'm making this change


> Allow DocumentTransformer to request fields that are not displayed
> ------------------------------------------------------------------
>
>                 Key: SOLR-7622
>                 URL: https://issues.apache.org/jira/browse/SOLR-7622
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>         Attachments: SOLR-7622-extra-request-fields.patch, 
> SOLR-7622-extra-request-fields.patch
>
>
> Currently, a DocumentTransformer can only inspect fields that appear in the 
> final SolrDocument.  But we already have infrastructure to request fields 
> from the IndexSearcher that do not get displayed.
> This will let DocumentTransformers ask for more fields that are not requested 
> in the fl parameter



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to