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

Caleb Rackliffe commented on SOLR-8858:
---------------------------------------

I've been able to resolve all the failures in {{TestSubQueryTransformer}} by 
simply making sure that all the fields referenced with the {{rows.x}} syntax in 
the sub-queries are present in the {{fl}} list. I think that's actually a 
reasonable resolution.

{{TestCloudDeleteByQuery}} and {{DistribJoinFromCollectionTest}} have been more 
elusive, but they smell like they're both being caused by shard queries that 
need to retrieve fields from the original {{fl}}, but can't with my patch in 
place, because only {{id}} and {{score}} are passed explicitly to 
{{SolrIndexSearcher}} (whereas they would have retrieved all fields before, 
given lazy loading isn't enabled).

> SolrIndexSearcher#doc() Completely Ignores Field Filters Unless Lazy Field 
> Loading is Enabled
> ---------------------------------------------------------------------------------------------
>
>                 Key: SOLR-8858
>                 URL: https://issues.apache.org/jira/browse/SOLR-8858
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.6, 4.10, 5.5
>            Reporter: Caleb Rackliffe
>              Labels: easyfix
>
> If {{enableLazyFieldLoading=false}}, a perfectly valid fields filter will be 
> ignored, and we'll create a {{DocumentStoredFieldVisitor}} without it.



--
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