[Ferret-talk] segmentation fault while combing stopfilter and stem filter

Lyes Amazouz lyesjob at gmail.com
Mon Oct 27 12:33:26 EDT 2008


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

-- 
===========
 |   Lyes Amazouz
 |   USTHB, Algiers
===========
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ferret-talk/attachments/20081027/8edabca3/attachment.html>


More information about the Ferret-talk mailing list