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

Yonik Seeley commented on SOLR-8740:
------------------------------------

bq. And default to docValuesFormat="Memory" as well, or is that already the 
default when docValues="true" is set?

The ability to keep everything off-heap and accessed via memory map seems to be 
the default we want (i.e.the docValues default of "disk").
Sorting and faceting on docValues fields will most likely be a little slower 
(ignoring NRT).... but the real benefit is having things "just work" and 
avoiding the dreaded "I got an OOM exception when I tried to sort on this 
field" issues.  So we're going to want them by default on non-text fields that 
people will use for sorting, faceting, stats, etc.

I'll try and make some time to tackle this issue soon (sometime after the 
Lucene/Solr NYC meetup on Wednesday)

> use docValues by default
> ------------------------
>
>                 Key: SOLR-8740
>                 URL: https://issues.apache.org/jira/browse/SOLR-8740
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: master
>            Reporter: Yonik Seeley
>             Fix For: master
>
>
> We should consider switching to docValues for most of our non-text fields.  
> This may be a better default since it is more NRT friendly and acts to avoid 
> OOM errors due to large field cache or UnInvertedField entries.



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