lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-1212) Basic refactoring of DocumentsWriter
Date Sun, 09 Mar 2008 13:01:48 GMT

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

Michael McCandless updated LUCENE-1212:
---------------------------------------

    Attachment: LUCENE-1212.patch

Attached patch.  All tests pass.  I will commit in a day or two.

There is a small performance loss with this: 924.5 docs/sec vs 913.4
docs/sec = ~1.2%, best of 5 runs indexing first 200K docs of
Wikipedia.  But I think it's an acceptable tradeoff for cleaner code.

> Basic refactoring of DocumentsWriter
> ------------------------------------
>
>                 Key: LUCENE-1212
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1212
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Index
>    Affects Versions: 2.3, 2.3.1
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>            Priority: Minor
>             Fix For: 2.4
>
>         Attachments: LUCENE-1212.patch
>
>
> As a starting point for making DocumentsWriter more understandable,
> I've fixed its inner classes to be static, and then broke the classes
> out into separate sources, all in org.apache.lucene.index package.

-- 
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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message