lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Cavanna (Commented) (JIRA)" <>
Subject [jira] [Commented] (LUCENE-3586) Choose a specific Directory implementation running the CheckIndex main
Date Tue, 13 Dec 2011 10:27:30 GMT


Luca Cavanna commented on LUCENE-3586:

Hi Michael,
Actually I don't like all the generics required in CommandLineUtil solely to support LTC's
case; if not for LTC the util would be much simpler (just one method taking a String class
name/path and returning a Directory instance).
I see. But I think we were on the right track. Have a look at the last version, I kept the
merged code removing that method with generics. If you don't like even this version I'll go
back, no problem at all!

Can you add the lost " // for javadocs" comment on one of CheckIndex's imports?
Ops, I restored it.
> Choose a specific Directory implementation running the CheckIndex main
> ----------------------------------------------------------------------
>                 Key: LUCENE-3586
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Luca Cavanna
>            Assignee: Luca Cavanna
>            Priority: Minor
>         Attachments: LUCENE-3586.patch, LUCENE-3586.patch, 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:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message