Hi Michael,

Thanks for the information. Does the error has any relationship with this
patch ttps://issues.apache.org/jira/browse/LUCENE-8134
<https://issues.apache.org/jira/browse/LUCENE-8134>

Thanks& Regards,
Adarsh Sunilkumar

On Fri, Jun 5, 2020 at 7:28 PM Michael McCandless <luc...@mikemccandless.com>
wrote:

> 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
>>
>

Reply via email to