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

Uwe Schindler edited comment on SOLR-10803 at 6/2/17 3:02 PM:
--------------------------------------------------------------

bq. FieldCache
I'd suggest to also enable DocValues by default for all string/numeric/date 
fields, unless explicitly disabled. I have seen that Solr 7 allows to merge 
non-docvalues segments to ones with docvalues using uninverter with a special 
mergepolicy. IMHO, this merge policy should be the default, just printing a 
line of information to the logs, so users know that their index segments are 
updated and this may temporarily require more ram. When using an index created 
with 7.x  (maybe using the new metadata added by [~jpountz] recently) and 
something tries to access FieldCache (e.g. for sorting or facetting or 
functions), it should fail the query.

In addition, the merge policy could also be used to convert Trie* to Point* 
values by first uninverting (if no docvalues on trie) and redindexing the 
fields during merging... (not sure how to do this, but should work somehow).


was (Author: thetaphi):
bq. FieldCache
I'd suggest to also enable DocValues by default for all string/numeric/date 
fields, unless explicitly disabled. I have seen that Solr 7 allows to merge 
non-docvalues segments to ones with docvalues using uninverter with a special 
mergepolicy. IMHO, this merge policy should be the default, just printing a 
line of information to the logs, so users know that their index segments are 
updated and this may temporarily require more ram. When using an index created 
with 7.x  (maybe using the new metadata added by [~jpountz] recently) and 
something tries to access FieldCache (e.g. for sorting or facetting or 
functions), it should fail the query.

> Solr should refuse to create Trie*Field instances in 7.0 indices
> ----------------------------------------------------------------
>
>                 Key: SOLR-10803
>                 URL: https://issues.apache.org/jira/browse/SOLR-10803
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Adrien Grand
>            Priority: Blocker
>             Fix For: master (7.0)
>
>
> If we want to be able to remove support for legacy numerics from Solr in 8.0, 
> we need to forbid the use of Trie*Field in indices that are created on or 
> after 7.0.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to