Forum: Ferret segmentation fault while combing stopfilter and stem filter

Posted by 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
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.