lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (JIRA)" <>
Subject [jira] [Created] (LUCENE-4061) Improvements to DirectoryTaxonomyWriter (synchronization and others)
Date Wed, 16 May 2012 08:11:02 GMT
Shai Erera created LUCENE-4061:

             Summary: Improvements to DirectoryTaxonomyWriter (synchronization and others)
                 Key: LUCENE-4061
             Project: Lucene - Java
          Issue Type: Improvement
          Components: modules/facet
            Reporter: Shai Erera
            Assignee: Shai Erera
             Fix For: 4.0

DirTaxoWriter synchronizes in too many places. For instance addCategory() is fully synchronized,
while only a small part of it needs to be.

Additionally, getCacheMemoryUsage looks bogus - it depends on the type of the TaxoWriterCache.
No code uses it, so I'd like to remove it -- whoever is interested can query the specific
cache impl it has. Currently, only Cl2oTaxoWriterCache supports it.

If the changes will be simple, I'll port them to 3.6.1 as well.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message