lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Cavanna (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-3586) Choose a specific Directory implementation running the CheckIndex main
Date Wed, 07 Dec 2011 15:16:40 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-3586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Luca Cavanna updated LUCENE-3586:
---------------------------------

    Attachment: LUCENE-3586.patch

New patch against trunk according to Michael's hints.
It's now possible to use external FSDirectory implementations. The package oal.store is used
if no package is specified. This isn't good if someone has the FSDirectory implementation
in the default package, but I'm not sure if this case is worth a fall back. Please, let me
know what you think.
                
> Choose a specific Directory implementation running the CheckIndex main
> ----------------------------------------------------------------------
>
>                 Key: LUCENE-3586
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3586
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Luca Cavanna
>            Assignee: Luca Cavanna
>            Priority: Minor
>         Attachments: LUCENE-3586.patch, LUCENE-3586.patch
>
>
> It should be possible to choose a specific Directory implementation to use during the
CheckIndex process when we run it from its main.
> What about an additional main parameter?
> In fact, I'm experiencing some problems with MMapDirectory working with a big segment,
and after some failed attempts playing with maxChunkSize, I decided to switch to another FSDirectory
implementation but I needed to do that on my own main.
> Should we also consider to use a FileSwitchDirectory?
> I'm willing to contribute, could you please let me know your thoughts about it?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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