Hi Jorn

Thanks for your response.
Following is my field type definition and i am getting the
ClassNotFoundException while indexing after making the changes.
</fieldType>
  <fieldType name="text_general" class="solr.TextField"
positionIncrementGap="100" multiValued="true">
    <analyzer type="index">
      <tokenizer class="solr.LowerCaseTokenizerFactory" />
      <filter class="solr.StopFilterFactory" words="stopwords.txt"
ignoreCase="true"/>
      <filter class="solr.LowerCaseFilterFactory"/>
      <filter class="solr.EnglishPorterFilterFactory"/>
    </analyzer>
    <analyzer type="query">
      <tokenizer class="solr.StandardTokenizerFactory" />
      <filter class="solr.StopFilterFactory" words="stopwords.txt"
ignoreCase="true"/>
      <filter class="solr.SynonymGraphFilterFactory" expand="true"
ignoreCase="true" synonyms="synonyms.txt"/>
      <filter class="solr.LowerCaseFilterFactory"/>
     </analyzer>
  </fieldType>

On Fri, Nov 1, 2019 at 2:10 PM Jörn Franke <jornfra...@gmail.com> wrote:

> How did you define the field type? Probably you have syntax errors there.
> I recommend to use the schema rest api instead of schema xml as it will
> give you better feedback on what is wrong and it allows you also better
> versioning of the schema in a source code repository.
>
> https://lucene.apache.org/solr/guide/8_2/schema-api.html
>
>
> > Am 01.11.2019 um 06:41 schrieb Shubham Goswami <
> shubham.gosw...@hotwax.co>:
> >
> > Hello Community
> >
> > I am using a filter class EnglishPorterFilterFactory for stemming filter
> > but because of usage of this class, my solr is not able reload the
> schema.
> >
> > Can somebody please let me know what exactly this class does and how can
> i
> > implement stemming ?
> > Any help will be appreciated. Thanks in advance.
> >
> > --
> > Kind Regards,
> > Shubham Goswami
> > Enterprise Software Engineer
> > mobile: +91 7803886288
> > email: *shubham.gosw...@hotwax.co*
> > *www.hotwax.co <http://www.hotwax.co/>*
>


-- 
Kind Regards,
Shubham Goswami
Enterprise Software Engineer
mobile: +91 7803886288
email: *shubham.gosw...@hotwax.co*
*www.hotwax.co <http://www.hotwax.co/>*

Reply via email to