lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <>
Subject Re: DocValues formats hold large byte[][]s even when using MMapDirectory
Date Wed, 02 Oct 2013 22:41:17 GMT
On Wed, Oct 2, 2013 at 2:37 PM, Steven Schlansker <> wrote:
> On Oct 2, 2013, at 11:16 AM, Michael McCandless <> wrote:
>> In Lucene 4.5 (coming out any day now) we've switched by default to a
>> "mostly on disk" impl for doc values.
> Awesome!  Looking forward to that then.
>> Before that, you can use DiskDocValuesFormat instead.
>> But you'll need to re-index (or create a new index and use
>> IW.addIndexes) to cutover your current index to the DiskDVFormat.
> I see a few references scattered on the internet but it's not in my Lucene jars.

It should be in the codecs module/JAR.

> The one reference I saw to it indicated that every patch release of Lucene will require
a full reindex when using this, which is a serious bummer.

Right, all but the default codec do not offer back compatibility; but
now that Disk has become the default it will have back compatibility
going forward.

> So I think I'll hold out for 4.5 and hope that that solves my problem.

Sounds good!

> Thanks for the help!

You're welcome!

Mike McCandless

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

View raw message