You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Lance Norskog (JIRA)" <ji...@apache.org> on 2010/07/06 07:09:50 UTC

[jira] Created: (LUCENE-2528) CFSFileDirectory: Allow a Compound Index file to be deployed as a complete index without segment files

CFSFileDirectory: Allow a Compound Index file to be deployed as a complete index without segment files
------------------------------------------------------------------------------------------------------

                 Key: LUCENE-2528
                 URL: https://issues.apache.org/jira/browse/LUCENE-2528
             Project: Lucene - Java
          Issue Type: New Feature
            Reporter: Lance Norskog
            Priority: Minor


This patch presents a compound index file as a Lucene Directory class. This allows you to deploy one file to a query server instead of deploying a directory with the compound file and two segment files.

-- 
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-2528) CFSFileDirectory: Allow a Compound Index file to be deployed as a complete index without segment files

Posted by "Lance Norskog (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-2528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lance Norskog updated LUCENE-2528:
----------------------------------

    Attachment: LUCENE-2528.patch

> CFSFileDirectory: Allow a Compound Index file to be deployed as a complete index without segment files
> ------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-2528
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2528
>             Project: Lucene - Java
>          Issue Type: New Feature
>            Reporter: Lance Norskog
>            Priority: Minor
>         Attachments: LUCENE-2528.patch
>
>
> This patch presents a compound index file as a Lucene Directory class. This allows you to deploy one file to a query server instead of deploying a directory with the compound file and two segment files.

-- 
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-2528) CFSFileDirectory: Allow a Compound Index file to be deployed as a complete index without segment files

Posted by "Lance Norskog (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-2528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lance Norskog updated LUCENE-2528:
----------------------------------

    Attachment: LUCENE-2528.patch

> CFSFileDirectory: Allow a Compound Index file to be deployed as a complete index without segment files
> ------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-2528
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2528
>             Project: Lucene - Java
>          Issue Type: New Feature
>            Reporter: Lance Norskog
>            Priority: Minor
>         Attachments: LUCENE-2528.patch
>
>
> This patch presents a compound index file as a Lucene Directory class. This allows you to deploy one file to a query server instead of deploying a directory with the compound file and two segment files.

-- 
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] Commented: (LUCENE-2528) CFSFileDirectory: Allow a Compound Index file to be deployed as a complete index without segment files

Posted by "Lance Norskog (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-2528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12885427#action_12885427 ] 

Lance Norskog commented on LUCENE-2528:
---------------------------------------

This patch has two problems:
1) CFSFileDirectory is in o.a.l.index instead of o.a.l.store because it uses SegmenInfo.commit(), which is not public. 
2) It uses a hacky way to get the number of documents in the index.
3) It does not know how to get the codec, and so defaults to StandardCodec.

The right way to fix #2 and #3 is to add the information to the compound file header.  



> CFSFileDirectory: Allow a Compound Index file to be deployed as a complete index without segment files
> ------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-2528
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2528
>             Project: Lucene - Java
>          Issue Type: New Feature
>            Reporter: Lance Norskog
>            Priority: Minor
>         Attachments: LUCENE-2528.patch
>
>
> This patch presents a compound index file as a Lucene Directory class. This allows you to deploy one file to a query server instead of deploying a directory with the compound file and two segment files.

-- 
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-2528) CFSFileDirectory: Allow a Compound Index file to be deployed as a complete index without segment files

Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-2528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir updated LUCENE-2528:
--------------------------------

    Component/s: Store

> CFSFileDirectory: Allow a Compound Index file to be deployed as a complete index without segment files
> ------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-2528
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2528
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: Store
>            Reporter: Lance Norskog
>            Priority: Minor
>         Attachments: LUCENE-2528.patch
>
>
> This patch presents a compound index file as a Lucene Directory class. This allows you to deploy one file to a query server instead of deploying a directory with the compound file and two segment files.

-- 
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-2528) CFSFileDirectory: Allow a Compound Index file to be deployed as a complete index without segment files

Posted by "Lance Norskog (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-2528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lance Norskog updated LUCENE-2528:
----------------------------------

    Attachment:     (was: LUCENE-2528.patch)

> CFSFileDirectory: Allow a Compound Index file to be deployed as a complete index without segment files
> ------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-2528
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2528
>             Project: Lucene - Java
>          Issue Type: New Feature
>            Reporter: Lance Norskog
>            Priority: Minor
>         Attachments: LUCENE-2528.patch
>
>
> This patch presents a compound index file as a Lucene Directory class. This allows you to deploy one file to a query server instead of deploying a directory with the compound file and two segment files.

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