Forum: Ferret segmentation fault while combing stopfilter and stem filter

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
D308ee3291656857f4f4bbc4e23cfc66?d=identicon&s=25 Amazouz Loui (lyes)
on 2008-10-30 04:36
(Received via mailing list)
Hi list

I've made a personal analyzer that combine the stemming and the stop
words
filtering,
my indexing works fine for a while, but it crashes with a segmentation
fault

when I use the stemming alone, it works very fine

may I have some help

thanks

this is the declaration of my analyzer

class ContentAnalyzer < StandardAnalyzer

  def initialize()
    @stop_words = FULL_FRENCH_STOP_WORDS
  end

  def token_stream(field, input)
    Ferret::Analysis::StemFilter.new(super, "french")
  end

end

PS: I've seen this integration in mailing lists, it will be familiar for
somones.

Where is my mistake
This topic is locked and can not be replied to.