[
https://issues.apache.org/jira/browse/SOLR-8344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16150447#comment-16150447
]
Cao Manh Dat commented on SOLR-8344:
------------------------------------
I think instead of find out the default solution. Why don't we do a quick
estimation like this
{code}
dvEstimate = estimateReadingTimeForDocValuesAsDefault(List<String> fields, int
numDocs);
storedEstimate = estimateReadingTimeForStoredAsDefault(List<String> fields, int
numDocs);
{code}
By comparing {{dvEstimate}} and {{storedEstimate}} we can choose to use dv or
stored field here.
> 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.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]