Thank you - yes that was my question.  I should have stated that it was for
SolrCloud and hence a managed schema.  Could I bring down the shards, edit
the managed schema on zookeeper, fire the shards back up and re-index?

-Joe

On Wed, Sep 10, 2014 at 11:50 AM, Anshum Gupta <ans...@anshumgupta.net>
wrote:

> Hi Joseph,
>
> It isn't supported by an exiting REST API (if that was your question) but
> you can always edit the schema manually (if it isn't managed), upload the
> new schema and reload the collections (or cores in case of non-SolrCloud
> mode).
>
> Do remember that changing the field type might require you to reindex your
> data.
>
> There's an open JIRA for that one and I think someone would get to it
> sometime in the reasonably near future.
> JIRA: https://issues.apache.org/jira/browse/SOLR-5289
>
> On Wed, Sep 10, 2014 at 8:05 AM, Joseph Obernberger <
> joseph.obernber...@gmail.com> wrote:
>
> > In addition to adding new fields to the schema, is there a way to modify
> an
> > existing field?  If I created a field called userID as a long, but
> decided
> > later that it should be a string?
> > Thank you!
> >
> > -Joe
> >
>
>
>
> --
>
> Anshum Gupta
> http://www.anshumgupta.net
>

Reply via email to