add initial capacity based Document constructor -----------------------------------------------
Key: LUCENE-2539 URL: https://issues.apache.org/jira/browse/LUCENE-2539 Project: Lucene - Java Issue Type: Improvement Components: Other Affects Versions: 3.0.2 Reporter: Woody Anderson Priority: Minor Fix For: 4.0, 3.0.2 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 is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org