You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/03/16 19:22:33 UTC

[jira] [Commented] (SOLR-8858) SolrIndexSearcher#doc() Completely Ignores Field Filters Unless Lazy Field Loading is Enabled

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

ASF GitHub Bot commented on SOLR-8858:
--------------------------------------

GitHub user maedhroz opened a pull request:

    https://github.com/apache/lucene-solr/pull/21

    SOLR-8858 SolrIndexSearcher#doc() Completely Ignores Field Filters Unless Lazy Field Loading is Enabled

    Instead of just discarding fields if lazy loading is not enabled, SolrIndexSearcher now passes them through to IndexReader. This means IndexReader creates a DocumentStoredFieldVisitor that we can use to later determine which fields need to be read.
    
    https://issues.apache.org/jira/browse/SOLR-8858

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/maedhroz/lucene-solr SOLR-8858

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/lucene-solr/pull/21.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #21
    
----
commit fa8075c7861dbc331588dfb5c9e28576e2eb31f2
Author: Caleb Rackliffe <ca...@gmail.com>
Date:   2016-03-16T18:15:20Z

    SOLR-8858 SolrIndexSearcher#doc() Completely Ignores Field Filters Unless Lazy Field Loading is Enabled
    
    Instead of just discarding fields if lazy loading is not enabled, SolrIndexSearcher now passes them through to IndexReader. This means IndexReader creates a DocumentStoredFieldVisitor that we can use to later determine which fields need to be read.

----


> 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
>            Reporter: Caleb Rackliffe
>              Labels: easyfix
>             Fix For: 5.5.1
>
>
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org