> Christoph Kiehl wrote > There should never be an index where the old and the new > format is mixed. Either > you have an index without the new field, to which you will > never add a document > with the new field, or you have an index with the new field > which means you can > rely on the fact that all documents are in the new format and > index your new doc > with the new field. > If you have no index at all you start with a new index to > which only documents > with the new field will be added. There should be a flag set > at startup for > example in SearchIndex which indicates if an index is in the > new or old format. > This flag should be used by NodeIndexer and MatchAllScorer > somehow to decide > which strategy to use. > Hope I made my thoughts clear ;) not sure it's understandable.
It is crystal clear: When you have old format, you stay in that format, if you start with new index, you get the new format. Clear and implementable IMO. I can give it a try and implement it unless somebody else wants to do it? Regards Ard > > Cheers, > Christoph > >
