Hi,
just wanted to officially announce the release of acts_as_Ferret 0.3.0.
As you see, I’m trying to catch up with Ferret’s version numbers
svn://projects.jkraemer.net/acts_as_ferret/tags/0.3.0/
or
svn://projects.jkraemer.net/acts_as_ferret/tags/stable/
This release is now tagged stable, so in case anybody has used the old
stable release via an svn external, please switch over to the 0.2.3 tag
at svn://projects.jkraemer.net/acts_as_ferret/tags/0.2.3/
Besides the switch to the shiny new 0.10 API, there are two new
features:
- Match highlighting through Ferret’s highlight method, with even more
convenience added
highlight = record.highlight(‘test’)
will by default scan all stored fields of this record for highlight
matches. However this can be turned off on the field level in case
you don’t want to get highlights out of a field you stored for other
reasons by specifying :highlight => :no as an option to acts_as_ferret.
This method takes the same options as the Ferret::Index::Index#highlight
one. If you only want to get highlights from exactly one field, just
specify it with the :field option.
-
It’s now possible to turn off the automatic indexing for the next or
all following calls to #save. You can even give a block that should be
executed without indexing, and optionally have aaf index your record
after the whole block is finished. Please see
http://projects.jkraemer.net/acts_as_ferret/wiki/AdvancedUsage for
usage notes. -
no new feature, but didn’t work until now with 0.10.x - the
more_like_this instance method now works as expected again.
have fun!
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