You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Cassandra Targett (JIRA)" <ji...@apache.org> on 2018/02/15 15:11:00 UTC

[jira] [Updated] (SOLR-12002) Allow DocValue type changes without reindex

     [ https://issues.apache.org/jira/browse/SOLR-12002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cassandra Targett updated SOLR-12002:
-------------------------------------
    Description: 
I've made a change to our Solr schema where an existing field was changed and docValues="true" was added. Only doing a core reload, during reindexing (with the clean flag, in dataimporter) the message "Cannot change DocValues type from SORTED_SET to SORTED for field companyType" showed up in the logs, but not for all documents.

Issuing a Solr restart and then reindexing fixed the issue. Under the assumption that core reload should handle any schema changes without issue, I think that this behaviour can be considered a bug.

Note that I'm using the classical schema configuration (disabled managed schema), maybe managed schema exhibits the same behaviour but that's untested on my end.

  was:
I've made a change to our Solr schema where an existing field was changed and docValues="true" was added. Only doing a core reload, during reindexing (with the clean flag, in dataimporter) the message "Cannot change DocValues type from SORTED_SET to SORTED for field companyType" showed up in the logs, but not for all documents.

 

Issuing a Solr restart and then reindexing fixed the issue. Under the assumption that core reload should handle any schema changes without issue, I think that this behaviour can be considered a bug.

 

Note that I'm using the classical schema configuration (disabled managed schema), maybe managed schema exhibits the same behaviour but that's untested on my end.


> Allow DocValue type changes without reindex
> -------------------------------------------
>
>                 Key: SOLR-12002
>                 URL: https://issues.apache.org/jira/browse/SOLR-12002
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 6.6.2
>            Reporter: Marius Ghita
>            Priority: Major
>
> I've made a change to our Solr schema where an existing field was changed and docValues="true" was added. Only doing a core reload, during reindexing (with the clean flag, in dataimporter) the message "Cannot change DocValues type from SORTED_SET to SORTED for field companyType" showed up in the logs, but not for all documents.
> Issuing a Solr restart and then reindexing fixed the issue. Under the assumption that core reload should handle any schema changes without issue, I think that this behaviour can be considered a bug.
> Note that I'm using the classical schema configuration (disabled managed schema), maybe managed schema exhibits the same behaviour but that's untested on my end.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org