Awesome,

So just to make sure I got it right:

I would edit the managed-schema, make my changes, shutdown solr? And start it 
back up and verify it is still there?

Or is there another way to reload the core/collection?

Thanks!

Sas



-----Original Message-----
From: Shawn Heisey [mailto:apa...@elyograg.org] 
Sent: Friday, June 3, 2016 11:17 AM
To: solr-user@lucene.apache.org
Subject: [E] Re: Stemming and Managed Schema

On 6/3/2016 9:07 AM, Jamal, Sarfaraz wrote:
> I found the following article:
> http://thinknook.com/keyword-stemming-and-lemmatisation-with-apache-so
> lr-2013-08-02/
>
> And I want to do stemming on one of our fields.
>
> However, I am using a Managed Schema and I am unsure how to add these 
> two blocks to it -
>
> I know there is an API for managed schemas, would that support these 
> additions?

You can't edit an existing fieldType with the Schema API.  You can entirely 
replace it, but you have to include the whole definition.

https://cwiki.apache.org/confluence/display/solr/Schema+API#SchemaAPI-ReplaceaFieldType

I'm aware that the managed-schema file says to not make manual edits -- but you 
*can* edit it manually, as long as you are absolutely sure that nobody is using 
the Schema API until after you complete your edits and reload the 
core/collection.

Thanks,
Shawn

Reply via email to