I believe I have run into the same error when someone made a change to
docvalues setting.   My understanding, and what we did, the only solution
is to delete the index and recreate.

https://solr.apache.org/guide/solr/latest/indexing-guide/reindexing.html

Matt

On Mon, Aug 14, 2023 at 2:23 PM rajani m <rajinima...@gmail.com> wrote:

> Hi Solr Users,
>
> There is a sortable text
> <
> https://github.com/apache/solr/blob/main/solr/core/src/java/org/apache/solr/schema/SortableTextField.java#L53
> >field
> that has docValues enabled by default, tried to disable it by setting
> "docValues=false" in the schema and indexing(update) the same docs, but it
> fails with the following error.
>
>  "doc values type=SORTED to inconsistent doc values type=NONE"
>
> Looks like once the docValues are enabled, it is not possible to disable.
> And is there an alternative other than recreating index?
>
> Thanks,
> Rajani
>

Reply via email to