Thanks! On Tue, Jan 5, 2010 at 1:00 PM, Michael McCandless <luc...@mikemccandless.com> wrote: > Making that switch is fine. > > The change will not be retroactive, ie, all previously indexed docs > with Store.YES will continue to store their fields. But new docs > won't store their fields if you specify Store.NO. > > I don't think this (what happens when certain schema changes happen > mid-indexing) is well documented, in general. > > Mike > > On Tue, Jan 5, 2010 at 12:01 PM, Babak Farhang <farh...@gmail.com> wrote: >> Hi, >> >> A review of the requirements of the project I'm working on has led us >> to conclude that going forward we don't need Lucene to store certain >> field values--just index. Owing to the large size of the data, we >> can't really afford to reindex everything, (Going forward, we plan to >> treat these fields as if they were never stored.) Which brings up my >> question. What effect, if any, does switching to Store.NO have when >> existing documents in the index already use Store.YES for that field? >> Will the change take effect for the new docs added to the index? Are >> there any side-effects to consider? >> >> Also, more generally, since the Lucene API does not guard against >> changing the document "schema" as the index is being built, I imagine >> the effects of such mid-stream "schema" changes might be documented >> somewhere. Please share, if you know of such a document. >> >> Regards, >> -Babak >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org >> For additional commands, e-mail: java-user-h...@lucene.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > >
--------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org