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

Jack Krupansky commented on SOLR-8831:
--------------------------------------

Now that docValues is supported for _version_, the question arises as to which 
is preferred (faster, less memory), stored or docValues. IOW, which should be 
the default. I presume it should be docValues, but I have no real clue.

Also, the doc for Atomic Update has this example as a Power Tip, that has BOTH 
stored and docValues set:

{code}
<field name="_version_" type="long" indexed="false" stored="true" 
required="true" docValues="true"/>
{code}

See:
https://cwiki.apache.org/confluence/display/solr/Updating+Parts+of+Documents

Should that be changed to stored="false"? Or, is there actually some aditional 
hidden benefit to store="true" AND docValues="true"?


> allow _version_ field to be retrievable via docValues
> -----------------------------------------------------
>
>                 Key: SOLR-8831
>                 URL: https://issues.apache.org/jira/browse/SOLR-8831
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Yonik Seeley
>             Fix For: 6.0
>
>         Attachments: SOLR-8831.patch
>
>
> Right now, one is prohibited from having an unstored _version_ field, even if 
> docValues are enabled.



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