Ryan McKinley created SOLR-8902:
-----------------------------------
Summary: ReturnFields allows fields that were not requested
Key: SOLR-8902
URL: https://issues.apache.org/jira/browse/SOLR-8902
Project: Solr
Issue Type: Bug
Components: Response Writers
Reporter: Ryan McKinley
Assignee: Ryan McKinley
Priority: Minor
Fix For: 6.1, trunk
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:
https://github.com/apache/lucene-solr/blob/master/solr/core/src/java/org/apache/solr/search/SolrReturnFields.java#L141
adds all the 'fields' to 'okFieldName'
I think that should be removed
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]