On Mon, Jul 31, 2006 at 08:16:39AM +0200, Michael wrote: > > > Do you use the compiled version of Ferret on both laptop and server ? > I beleive they are both compiled. My server is gentoo linux. > To be sure I just did "gem install ferret" to see and it does indeed > appear to be compilinmg on both my macbook and the server. Nothing > Changed. > I also tried changing my locale in enviornemnt.rb: > ENV['LANG'] = 'en_US.utf8' > ENV['LC_TIME'] = 'C' > I also dumped by database and reimported after converting from latin one > to utf8 as described here > http://climbtothestars.org/archives/2004/07/18/converting-mysql-database-contents-to-utf-8/ > and here http://textsnippets.com/posts/show/84. > still didn't change anything. > > > > > What does your call to acts_as_ferret look like, do you specify a > > custom analyzer or something like this ? > I think they are pretty basic > most are simple, except one line: > acts_as_ferret(:fields => ['id','first_name','last_name', 'email', > 'notes'], :occur_default => > Ferret::Search::BooleanClause::Occur::SHOULD)
maybe this helps: you should not specify the id field in a call to acts_as_ferret. The id is indexed by default. Jens -- webit! Gesellschaft für neue Medien mbH www.webit.de Dipl.-Wirtschaftsingenieur Jens Krämer [EMAIL PROTECTED] Schnorrstraße 76 Tel +49 351 46766 0 D-01069 Dresden Fax +49 351 46766 66 _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

