lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <>
Subject Re: How to avoid sharing docStore files?
Date Wed, 12 May 2010 10:15:24 GMT
This isn't something you can disable in Lucene, currently.  In
general, how Lucene represents the index as files is "private" to it
-- it's free to change from release to release.

That said, we are thinking of moving away from doc stores, with
LUCENE-2324.  Now that both stored fields & term vectors can be
bulk-copied during merging, the optimization does not buy us as much
as it did before.

Can you explain in more detail what you are doing w/ Lucene that
requires the doc stores to not be shared?  EG for splitting an index,
there is the multi-pass index splitter (in contrib/misc).


On Wed, May 12, 2010 at 5:33 AM, Ivan Vasilev <> wrote:
> Hi Guys,
> Can anybody tell me how to avoid sharing of docStore files (term vectors &
> stored fields)? I mean to avoid creation of cfx files.
> This is important for us because we support some operations like splitting
> index, updating index fields (via running optimization that has some
> differences compare to normal optimization).
> With Lucene 2.4.X we used constructor of IndexWriter that used "autoCommit"
> parameter. We set it to "true" and this forced each flush to be done in a
> new .cfs file.
> Is there now some way to do it?
> Cheers,
> Ivan
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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

View raw message