In a word, "no". You must re-index from scratch. Worse, now that you have some segments thinking the fields are docValues and some not and maybe some mixed, I know of no way to un-entangle them.
I'd create a new collection and re-index it entirely, then use collection aliasing to point the applications at the new collection. Best, Erick On Fri, May 5, 2017 at 2:49 AM, aravinth thangasami <aravinththangas...@gmail.com> wrote: > Hi all, > > On process of moving to Lucene 5 from Lucene 4, we faced this following > issue > We have enabled doc values in Lucene 5.we previously don't used doc values > in Lucene 4 > > Using UninvertingReader, sorting works fine until the first merge happens. > On merge documents in the older version without doc values affect the > sorting order. > > Is there any way to solve this issue without reindexing ??? > > What is your opinion on it ? > > I was thinking about these two ways.will these possible ? > > 1. Does Uninverting Reader can be made to store the formed doc values to > disk ? > 2. During merge, does IndexWriter can be made to write the doc values for > documents without doc value ? > > > > Thanks > Aravinth --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org