Hi Jorn,

It looks to me that you write the name of the class wrongly.


*EnglishPorterFilterFactory* did exist in older Solr versions
<https://lucene.apache.org/solr/3_6_0/org/apache/solr/analysis/EnglishPorterFilterFactory.html>.
Since it was deprecated long ago, I think that's the reason it's not
mentioned in Filters Descriptions
<https://lucene.apache.org/solr/guide/8_2/filter-descriptions.html>. See,
even Ref Guide 7.7 mentions
<https://lucene.apache.org/solr/guide/7_7/analyzers.html> it in one of its
examples (maybe because the material was just copied).

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

> https://lucene.apache.org/solr/guide/8_2/filter-descriptions.html
>
> It looks to me that you write the name of the class wrongly
>
> > Am 01.11.2019 um 11:12 schrieb Shubham Goswami <
> shubham.gosw...@hotwax.co>:
> >
> > 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/>*
>


-- 
-- 
Regards,

*Paras Lehana* [65871]
Development Engineer, Auto-Suggest,
IndiaMART Intermesh Ltd.

8th Floor, Tower A, Advant-Navis Business Park, Sector 142,
Noida, UP, IN - 201303

Mob.: +91-9560911996
Work: 01203916600 | Extn:  *8173*

-- 
IMPORTANT: 
NEVER share your IndiaMART OTP/ Password with anyone.

Reply via email to