LogMergePolicy.setUseCompoundFile/DocStore
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: LogMergePolicy.setUseCompoundFile/DocStore
Incoming LUCENE-2814 drops setUseCompoundDocStore() On Thu, Dec 16, 2010 at 12:04, Shai Erera ser...@gmail.com 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/Кирилл Захаренко (ear...@gmail.com) Phone: +7 (495) 683-567-4 ICQ: 104465785 - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
Re: LogMergePolicy.setUseCompoundFile/DocStore
Ok perfect ! Shai On Thu, Dec 16, 2010 at 11:23 AM, Earwin Burrfoot ear...@gmail.com wrote: Incoming LUCENE-2814 drops setUseCompoundDocStore() On Thu, Dec 16, 2010 at 12:04, Shai Erera ser...@gmail.com 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/Кирилл Захаренко (ear...@gmail.com) Phone: +7 (495) 683-567-4 ICQ: 104465785 - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org