Can't stop stop_words

I have looked at the documentation and done some searching, but I can’t
seem to stop the STOP_WORDS from cutting out common words. I am using
acts_as_ferret and I have add the following to my code:

STOP_WORDS = []

acts_as_ferret({ :fields => { :name => { :boost
=> 10 },
:project_client_company_id => { :boost
=> 0 }
}
},
{:analyzer =>
Ferret::Analysis::StandardAnalyzer.new(STOP_WORDS)})

Regardless, words like ‘into’ are not being indexed (I have looked at
the index files). I have been re-indexing, so it isn’t a problem like
that.

If anyone can point out what I am doing wrong that would be great.

You’re close: here’s what works for me. Note the ":ferret => " key:

acts_as_ferret({:fields => {:name               => {:boost => 10,

:store => :yes},
:summary => {:boost => 2,
:store => :yes},
:published => {:boost => 1},
:published_on => {:boost => 1}},
:ferret => { :analyzer =>
Ferret::Analysis::StandardAnalyzer.new([]) }
} )

Thanks,

Doug

Doug S. wrote:

You’re close: here’s what works for me. Note the ":ferret => " key:

acts_as_ferret({:fields => {:name               => {:boost => 10,

:store => :yes},
:summary => {:boost => 2,
:store => :yes},
:published => {:boost => 1},
:published_on => {:boost => 1}},
:ferret => { :analyzer =>
Ferret::Analysis::StandardAnalyzer.new([]) }
} )

Thanks,

Doug

Great - that works!