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

Alan Woodward commented on LUCENE-7774:
---------------------------------------

bq. users could make a custom codec changing this setting themselves?

Of course, this is the obvious short-term fix!  Thanks Mike.

Improving the offline sorter would be great, but I'm not going to have time to 
look at it for now, so I'll close this issue and that can be dealt with 
elsewhere.

> Allow BKDWriter buffer sizes to be configurable
> -----------------------------------------------
>
>                 Key: LUCENE-7774
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7774
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Alan Woodward
>
> BKDWriter has a 16Mb internal buffer it uses for sorting points, which then 
> spills over to on-disk sorting if there are too many values.  The difference 
> in performance between in-buffer and on-disk sorting is pretty stark, and it 
> would be nice to make this buffer size configurable so that users can choose 
> to use more RAM during indexing to speed things up.



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