Hi Guys,

I am following this tutorial:
http://thinknook.com/keyword-stemming-and-lemmatisation-with-apache-solr-2013-08-02/

My (Managed) Schema file looks like this: (in the appropriate places)


-  <field name="content_stemming" type="text_stem" indexed="true" stored="true" 
/>

-   <fieldType name="text_stem" class="solr.TextField" 
positionIncrementGap="100">
        <analyzer>
        <tokenizer class="solr.WhitespaceTokenizerFactory"/>
        <filter class="solr.SnowballPorterFilterFactory"/>
        </analyzer>
  </fieldType>

 -  <field name="content_stemming" type="text_stem" indexed="true" 
stored="true" />

-    <copyField source="_text_" dest="content_stemming"/>

I have re-indexed everything -

It is not effecting my search at all -

- from what I can tell from the analysis tool nothing is happening.

Is there something else I am missing or should take a look at, or is it 
possible to debug this? Or some other documentation I can search though?

Thanks!

Sas

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

On 6/3/2016 9:22 AM, Jamal, Sarfaraz wrote:
> I would edit the managed-schema, make my changes, shutdown solr? And 
> start it back up and verify it is still there?

That's the sledgehammer approach.  Simple and effective, but Solr does go 
offline for a short time.

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

For SolrCloud:
https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api2

For non-cloud mode:
https://cwiki.apache.org/confluence/display/solr/CoreAdmin+API#CoreAdminAPI-RELOAD

Thanks,
Shawn

Reply via email to