lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Is there a way to limit the size of an index?
Date Thu, 07 Jan 2010 10:34:31 GMT
I don't think this is implemented [yet] today.  You'd have to
implement the Directory, IndexInput and IndexOutput classes, to make
this work.

Do you have a hard 2GB limit on index files?  Setting
maxMergeDocs/Size (via LogByteSizeMergePolicy) lets you approximately
limit the size...

Mike

On Thu, Jan 7, 2010 at 3:32 AM, Dvora <barak.yaish@gmail.com> wrote:
>
> Hi all,
>
> According to the FAQ, "An even more complex and optimal solution:
> Write a version of FSDirectory that, when a file exceeds 2GB, creates a
> subdirectory and represents the file as a series of files."
>
> Is that solution implemented already? If not, can you guide me please how
> can I achieve that? Is this solution requires changes in the Reader as well?
>
> Thanks.
>
>
> --
> View this message in context: http://old.nabble.com/Is-there-a-way-to-limit-the-size-of-an-index--tp27056573p27056573.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message