You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Daniel Naber (JIRA)" <ji...@apache.org> on 2007/12/20 22:26:43 UTC

[jira] Commented: (LUCENE-770) CfsExtractor tool

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

Daniel Naber commented on LUCENE-770:
-------------------------------------

I think there's a small issue which is also in IndexReader.main: the javadoc claims that you need to copy the segments files to make the extracted index work, but that's not enough, you will also need to modify the segments file because it contains the information whether the index is in compound format or not.

> CfsExtractor tool
> -----------------
>
>                 Key: LUCENE-770
>                 URL: https://issues.apache.org/jira/browse/LUCENE-770
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: Index
>    Affects Versions: 2.1
>            Reporter: Otis Gospodnetic
>            Priority: Minor
>         Attachments: LUCENE-770.patch
>
>
> A tool for extracting the content of a CFS file, in order to go from a compound index to a multi-file index.
> This may be handy for people who want to go back to multi-file index format now that field norms are in a single file - LUCENE-756.
> Most of this code already existed and was hiding in IndexReader.main.
> I'll commit tomorrow, unless I hear otherwise.  I think I should also remove IndexReader.main then.  Ja?

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