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

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

I started to play with a patch for this, but it turns out to be a bit tricky, 
as the BKDWriter is an implementation detail of the Lucene60PointsWriter, and 
we don't have an easy way to pass configuration parameters to Codecs.  So this 
is mainly a discussion JIRA at the moment.  [~mikemccand] do you have any 
thoughts?

> 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