[ 
https://issues.apache.org/jira/browse/LUCENE-1043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539686
 ] 

robert engels commented on LUCENE-1043:
---------------------------------------

You have to be careful with the bulk copy because you will need to also copy 
the offsets from the source, sticking them up, and then write them in bulk.

With large enough input and output buffers I am not sure the bulk copy will 
make that large a difference.


> Speedup merging of stored fields when field mapping "matches"
> -------------------------------------------------------------
>
>                 Key: LUCENE-1043
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1043
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Index
>    Affects Versions: 2.2
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>            Priority: Minor
>             Fix For: 2.3
>
>         Attachments: LUCENE-1043.patch
>
>
> Robert Engels suggested the following idea, here:
>   http://www.gossamer-threads.com/lists/lucene/java-dev/54217
> When merging in the stored fields from a segment, if the field name ->
> number mapping is identical then we can simply bulk copy the entire
> entry for the document rather than re-interpreting and then re-writing
> the actual stored fields.
> I've pulled the code from the above thread and got it working on the
> current trunk.

-- 
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]

Reply via email to