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

Erick Erickson commented on SOLR-8344:
--------------------------------------

Is it possible to preferentially return DV when doing the first pass of a 
distributed search? IIRC, Yonik said at one point that we already get the sort 
values from the index (or perhaps we can pull them from DV fields). But I just 
verified that the logic in DocStreamer decompresses the doc pretty much no 
matter what. I've just verified this in 6.2. The test for whether all the 
fields are DV fields fails due to the presence of the "score" pseudo field.

I added a hack patch to 6810 to illustrate one path that sidesteps 
decompression. 

Anyway, I was wondering if we could somehow detect that this was the first pass 
and return the DV fields all the time, although I do wonder if some obscure 
case where the sorted order of the multiValued DV fields would mess things up.

> Decide default when requested fields are both column and row stored.
> --------------------------------------------------------------------
>
>                 Key: SOLR-8344
>                 URL: https://issues.apache.org/jira/browse/SOLR-8344
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Ishan Chattopadhyaya
>
> This issue was discussed in the comments at SOLR-8220. Splitting it out to a 
> separate issue so that we can have a focused discussion on whether/how to do 
> this.
> If a given set of requested fields are all stored and have docValues (column 
> stored), we can retrieve the values from either place.  What should the 
> default be?



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