lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-4564) Add taxonomy index upgrade utility
Date Mon, 19 Nov 2012 14:18:58 GMT
Shai Erera created LUCENE-4564:
----------------------------------

             Summary: Add taxonomy index upgrade utility
                 Key: LUCENE-4564
                 URL: https://issues.apache.org/jira/browse/LUCENE-4564
             Project: Lucene - Core
          Issue Type: New Feature
          Components: modules/facet
            Reporter: Shai Erera
            Assignee: Shai Erera
            Priority: Blocker
             Fix For: 5.0


Currently there's no way for an app to upgrade a taxonomy index to the newest index format.
The problem is, that unlike search indexes which may merge segments often, the taxonomy index
is not likely to do many merges. At some point, most taxonomies become fixed (i.e. new categories
are not/rarely added), and therefore it could be that some old segments will never get merged.

When we'll release Lucene 5.0, support for 3x indexes will be removed, and so taxonomies that
were created w/ 3x won't be read anymore.

While one can use IndexUpgrader (I think) to upgrade the taxonomy index, it may not be so
trivial for users to realize that, as it may not be so evident from DirTaxoWriter/Reader API
that there's a regular Lucene index behind the scenes.

A tool, like TaxonomyUpgraderTool, even if simple and using IndexUpgrader, may make it more
convenient for user to upgrade their taxonomy index.

Opening as a placeholder for 5.0. Also marking as blocker, so we don't forget about it before
the release.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message