[
https://issues.apache.org/jira/browse/LUCENE-2682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12917382#action_12917382
]
Robert Muir commented on LUCENE-2682:
-------------------------------------
in MyTermAttributeImpl:
{code}
public int toBytesRef(BytesRef bs) {
bs.copy(bytes);
{code}
i don't think you need to copy bytes? maybe it saves a whole 30 seconds in your
4 hour test time :)
i did a shallow-copy with collation.
> create test case to verify we support > 2.1B terms
> --------------------------------------------------
>
> Key: LUCENE-2682
> URL: https://issues.apache.org/jira/browse/LUCENE-2682
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Index
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Fix For: 3.1, 4.0
>
> Attachments: LUCENE-2682.patch
>
>
> I created a test case for this... I'm leaving it as @Ignore because it takes
> more than four hours on a faaast machine (beast) to run. I think we should
> run this before each release.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]