[
https://issues.apache.org/jira/browse/LUCENE-2539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Smiley updated LUCENE-2539:
---------------------------------
Fix Version/s: (was: 4.7)
4.8
> add initial capacity based Document constructor
> -----------------------------------------------
>
> Key: LUCENE-2539
> URL: https://issues.apache.org/jira/browse/LUCENE-2539
> Project: Lucene - Core
> Issue Type: Improvement
> Components: core/other
> Affects Versions: 3.0.2
> Reporter: Woody Anderson
> Priority: Minor
> Labels: dead
> Fix For: 4.8
>
> Attachments: LUCENE-2539.patch, LUCENE-2539.patch, LUCENE-2539.patch
>
>
> When loading field from the index without a FieldSelector, and often in user
> code we know exactly how many fields a Document should have. This patch will
> simply add the ability to allocate Document memory for precisely.
> I will include as a separate patch where this would be useful in conjunction
> with patch [LUCENE-2276|https://issues.apache.org/jira/browse/LUCENE-2276].
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]