On Thu, Sep 13, 2007 at 12:08:22AM +0200, Raj Singh
wrote:> I have read the highlighting section at
> http://www.railsenvy.com/2007/2/19/acts-as-ferret-tutorial#highlighting
>
> It mentions that for highlight to work I must have {:store => :yes}.
> However it also mentions that only "small" fields should be
stored.
>
> My question is how small is small enough.
that depends on how large you want your index to grow, and how long the
indexing may take ;-)
> I have a site where events information is maintained. I have events
> title and events description. On an average the description is of 60
> words and around 300 characters.
That shouldn''t be a problem. To save space with large field contents
you
may also use :store => :compressed, however with 300 characters that
shouldn''t be necessary.
Jens
--
Jens Kr?mer
webit! Gesellschaft f?r neue Medien mbH
Schnorrstra?e 76 | 01069 Dresden
Telefon +49 351 46766-0 | Telefax +49 351 46766-66
kraemer at webit.de | www.webit.de
Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa