This just means you previously indexed only docis (skipping term frequencies, positions) for at least one of the fields in at least one document in your existing index.
But now you are trying to also index with term frequencies and positions, which Lucene cannot do. You either have to reindex with IndexOptions.DOCS_AND_FREQS_AND_POSITIONS, or keep your old index but index that offending field with IndexOptions.DOCS. Mike McCandless http://blog.mikemccandless.com On Fri, Jun 5, 2020 at 6:58 AM Adarsh Sunilkumar < adarshsunilkuma...@gmail.com> wrote: > Hi team, > > I am getting this error when I have tried migrating from lucene 7.3 to > 8.5.1 > cannot change field "abc" from index options=DOCS to inconsistent index > options=DOCS_AND_FREQS_AND_POSITIONS > can I know the issue ? > what should I change ? > thanks in advance. > > > Thanks&Regards, > Adarsh Sunilkumar >