lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Khludnev (JIRA)" <>
Subject [jira] [Commented] (SOLR-8902) ReturnFields can return fields that were not requested
Date Fri, 25 Mar 2016 07:23:25 GMT


Mikhail Khludnev commented on SOLR-8902:

I walked around ReturnFields recently (while work on SOLR-8208), was a little bit wondered,
but considered SOLR-7622 as a feature after all, and now I found SOLR-8902 issue description
is a little controversial. Sadly, I don't fully understand what's about and what all this
{{wantsFoo}}, {{okFoo}} means. I just want to make sure that this fix is solid with existing.

> ReturnFields can return fields that were not requested
> ------------------------------------------------------
>                 Key: SOLR-8902
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: Response Writers
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>            Priority: Minor
>             Fix For: 6.1, trunk
>         Attachments: SOLR-8902.diff
> It looks like something changed that now returns all fields requested from lucene, not
just the ones request from solr.
> This is the difference between 'fields' and 'okFieldNames' in SolrReturnFields.
> The logic here:
> adds all the 'fields' to 'okFieldName'
> I think that should be removed

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message