|
|
-
Log MergePolicy.setUseCompoundFile/DocStore
Shai Erera 2010-12-16, 09:04
Hi
I find it very annoying that I need to set true/false on these methods whenever I want to control compound files creation. Is it really necessary to allow writing doc stores in non compound files vs. the other index files in a compound file? Does somebody know if this feature is used somewhere?
If it's crucial to keep the two methods, then how about introducing a setCompoundMode(true/false) to turn on/off both at once? IndexWriter used to have it, before we switched to IndexWriterConfig and I think it was very useful.
Shai
-
Re: Log MergePolicy.setUseCompoundFile/DocStore
Earwin Burrfoot 2010-12-16, 09:23
Incoming LUCENE-2814 drops setUseCompoundDocStore()
On Thu, Dec 16, 2010 at 12:04, Shai Erera <[EMAIL PROTECTED]> wrote: > Hi > > I find it very annoying that I need to set true/false on these methods > whenever I want to control compound files creation. Is it really necessary > to allow writing doc stores in non compound files vs. the other index files > in a compound file? Does somebody know if this feature is used somewhere? > > If it's crucial to keep the two methods, then how about introducing a > setCompoundMode(true/false) to turn on/off both at once? IndexWriter used to > have it, before we switched to IndexWriterConfig and I think it was very > useful. > > Shai >
-- Kirill Zakharenko/Кирилл Захаренко ([EMAIL PROTECTED]) Phone: +7 (495) 683-567-4 ICQ: 104465785
---------------------------------------------------------------------
-
Re: Log MergePolicy.setUseCompoundFile/DocStore
Shai Erera 2010-12-16, 10:08
Ok perfect !
Shai
On Thu, Dec 16, 2010 at 11:23 AM, Earwin Burrfoot <[EMAIL PROTECTED]> wrote:
> Incoming LUCENE-2814 drops setUseCompoundDocStore() > > On Thu, Dec 16, 2010 at 12:04, Shai Erera <[EMAIL PROTECTED]> wrote: > > Hi > > > > I find it very annoying that I need to set true/false on these methods > > whenever I want to control compound files creation. Is it really > necessary > > to allow writing doc stores in non compound files vs. the other index > files > > in a compound file? Does somebody know if this feature is used somewhere? > > > > If it's crucial to keep the two methods, then how about introducing a > > setCompoundMode(true/false) to turn on/off both at once? IndexWriter used > to > > have it, before we switched to IndexWriterConfig and I think it was very > > useful. > > > > Shai > > > > > > -- > Kirill Zakharenko/Кирилл Захаренко ([EMAIL PROTECTED]) > Phone: +7 (495) 683-567-4 > ICQ: 104465785 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
|
|
All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by
Sematext