Shalin,

 Here is what I've read on maxMergeDocs,

 "While merging segments, Lucene will ensure that no segment with more
than maxMergeDocs is created."

 Wouldn't that mean that no index file should contain more than max
docs? I guess the index files could also just contain the index
information which is not limited by any property - is that true?

Is there any work around to limit the index size, beside limiting the
index itself?

Thanks,
-vivek

On Fri, May 8, 2009 at 10:02 PM, Shalin Shekhar Mangar
<shalinman...@gmail.com> wrote:
> On Fri, May 8, 2009 at 1:30 AM, vivek sar <vivex...@gmail.com> wrote:
>
>>
>> I did set the maxMergeDocs to 10M, but I still see couple of index
>> files over 30G which do not match with max number of documents. Here
>> are some numbers,
>>
>> 1) My total index size = 66GB
>> 2) Number of total documents = 200M
>> 3) 1M doc = 300MB
>> 4) 10M doc should be roughly around 3-4GB.
>>
>> As you can see couple of files are huge. Are those documents or index
>> files? How can I control the file size so no single file grows more
>> than 10GB.
>>
>
> No, there is no way to limit an individual file to a specific size.
>
> --
> Regards,
> Shalin Shekhar Mangar.
>

Reply via email to