lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Woody Anderson (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-2539) add initial capacity based Document constructor
Date Fri, 16 Jul 2010 03:04:49 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-2539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Woody Anderson updated LUCENE-2539:
-----------------------------------

    Attachment: LUCENE-2539.patch

didn't get the FieldsReader change in the previous patch. it's kinda the whole point.

> 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: 3.0.2, 4.0
>
>         Attachments: 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message