[
https://issues.apache.org/jira/browse/LUCENE-6153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14262306#comment-14262306
]
Mike Drob commented on LUCENE-6153:
-----------------------------------
A named constant would also mean that we don't have to find everywhere else
that the value is used if we decide we want to change it. In this case, we use
it again two lines later.
I'm not worried about the extra indirection, since (nearly?) every editor will
have a "show declaration" feature. (Eclipse - F3, NetBeans - Ctrl+Alt+Shift+O,
Vim - gd, etc...). That said, most of those will also show me the JavaDoc on
the call, so I can see what the parameters are anyway, and it's all a wash.
> randomize stored fields/vectors index blocksize
> -----------------------------------------------
>
> Key: LUCENE-6153
> URL: https://issues.apache.org/jira/browse/LUCENE-6153
> Project: Lucene - Core
> Issue Type: Test
> Reporter: Robert Muir
> Attachments: LUCENE-6153.patch
>
>
> the Compressing impls compress documents into chunks. We then record index
> data for every N chunks, which is binary searched to find the start of the
> chunk. today this is always 1024.
> This means to test the stored fields index well, we need to index thousands
> and thousands of documents. But if we randomize the parameter, we can test it
> more effectively by setting it to very low values (e.g. 5) in tests.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]