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

Robert Muir commented on SOLR-10273:
------------------------------------

This is a big deoptimization for the common case... Lucene must preserve field 
order and you lose compression if its inconsistent across docs. Also bulk 
merging relies upon field number consistency across segments. IW tries to keep 
them aligned but this patch os intentionally being adversarial... To benefit 
what is a rare and esoteric case.

This kind of thing should be only enabled by an option. 

> Re-order largest field values last in Lucene Document
> -----------------------------------------------------
>
>                 Key: SOLR-10273
>                 URL: https://issues.apache.org/jira/browse/SOLR-10273
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: David Smiley
>            Assignee: David Smiley
>             Fix For: 6.5
>
>         Attachments: SOLR_10273_DocumentBuilder_move_longest_to_last.patch
>
>
> (part of umbrella issue SOLR-10117)
> In Solr's {{DocumentBuilder}}, at the very end, we should move the field 
> value(s) associated with the largest field (assuming "stored") to be last.  
> Lucene's default stored value codec can avoid reading and decompressing  the 
> last field value when it's not requested.  (As of LUCENE-6898).



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to