On 6/3/2016 9:07 AM, Jamal, Sarfaraz wrote:
> I found the following article:
> http://thinknook.com/keyword-stemming-and-lemmatisation-with-apache-solr-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