You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2011/01/27 02:39:44 UTC
[jira] Created: (LUCENE-2893) index upgrade tool for /dev-tools
index upgrade tool for /dev-tools
---------------------------------
Key: LUCENE-2893
URL: https://issues.apache.org/jira/browse/LUCENE-2893
Project: Lucene - Java
Issue Type: Task
Reporter: Robert Muir
we change the index format from time to time, and people tracking trunk have to re-index.
I think we should put a (unsupported, scary) tool in /dev-tools that uses the PreflexRW Codec to
serialize the index to a 3.0 index (with your old trunk version), you can then deserialize it back
with the newer trunk version, to the newest StandardCodec.
this won't prevent all reindexes, but would work for changes under codec control.
mainly though, I think we could somehow add undeleteAll + this tool + apply deletes to prevent
the painful reindexing of luceneutil benchmarking indexes :)
--
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
[jira] Updated: (LUCENE-2893) index upgrade tool for /dev-tools
Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-2893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir updated LUCENE-2893:
--------------------------------
Attachment: LUCENE-2893.patch
here is a patch against src/test, since it relies on test code to work.
i say we just drop the .java file in /dev-tools though, unless someone
has ideas for improvements of course.
> index upgrade tool for /dev-tools
> ---------------------------------
>
> Key: LUCENE-2893
> URL: https://issues.apache.org/jira/browse/LUCENE-2893
> Project: Lucene - Java
> Issue Type: Task
> Reporter: Robert Muir
> Attachments: LUCENE-2893.patch
>
>
> we change the index format from time to time, and people tracking trunk have to re-index.
> I think we should put a (unsupported, scary) tool in /dev-tools that uses the PreflexRW Codec to
> serialize the index to a 3.0 index (with your old trunk version), you can then deserialize it back
> with the newer trunk version, to the newest StandardCodec.
> this won't prevent all reindexes, but would work for changes under codec control.
> mainly though, I think we could somehow add undeleteAll + this tool + apply deletes to prevent
> the painful reindexing of luceneutil benchmarking indexes :)
--
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