You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by OTH <om...@gmail.com> on 2017/02/26 18:50:04 UTC

Add fieldType from Solr API

Hello,

I am new to Solr, and am using Solr v. 6.4.1.

I need to add a new "fieldType" to my schema.  My version of Solr is using
the "managed-schema" XML file, which I gather one is not supposed to modify
directly.  Is it possible to add a new fieldType using the Solr Admin via
the browser?  The "schema" page doesn't seem to provide this option, at
least from what I can tell.

Thanks

Re: Add fieldType from Solr API

Posted by Kevin Risden <co...@gmail.com>.
As Alex said there is no Admin UI support. The API is called the Schema API:

https://cwiki.apache.org/confluence/display/solr/Schema+API

That allows you to modify the schema programatically. You will have to
reload the collection either way.

Kevin Risden

On Sun, Feb 26, 2017 at 1:33 PM, Alexandre Rafalovitch <ar...@gmail.com>
wrote:

> You can hand edit it, just make sure to reload the collection after.
>
> Otherwise, I believe, there is API.
>
> Not the Admin UI yet, unfortunately.
>
> Regards,
>     Alex
>
> On 26 Feb 2017 1:50 PM, "OTH" <om...@gmail.com> wrote:
>
> Hello,
>
> I am new to Solr, and am using Solr v. 6.4.1.
>
> I need to add a new "fieldType" to my schema.  My version of Solr is using
> the "managed-schema" XML file, which I gather one is not supposed to modify
> directly.  Is it possible to add a new fieldType using the Solr Admin via
> the browser?  The "schema" page doesn't seem to provide this option, at
> least from what I can tell.
>
> Thanks
>

Re: Add fieldType from Solr API

Posted by Alexandre Rafalovitch <ar...@gmail.com>.
You can hand edit it, just make sure to reload the collection after.

Otherwise, I believe, there is API.

Not the Admin UI yet, unfortunately.

Regards,
    Alex

On 26 Feb 2017 1:50 PM, "OTH" <om...@gmail.com> wrote:

Hello,

I am new to Solr, and am using Solr v. 6.4.1.

I need to add a new "fieldType" to my schema.  My version of Solr is using
the "managed-schema" XML file, which I gather one is not supposed to modify
directly.  Is it possible to add a new fieldType using the Solr Admin via
the browser?  The "schema" page doesn't seem to provide this option, at
least from what I can tell.

Thanks