[ https://issues.apache.org/jira/browse/SOLR-8858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15363681#comment-15363681 ]
David Smiley commented on SOLR-8858: ------------------------------------ bq. a.) Always cache an entire document, regardless of what we return from `doc()`. (Seems like it adds overhead.) I think caching the full doc is expected and what I thought it did. There isn't necessarily overhead; maybe some other component (e.g. highlighting) wants a field even though 'fl' doesn't refer to it. "b" seems fine, too, not sure, but I think "c" (always lazy-load) is bad. > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org