On Fri, Jun 15, 2007 at 05:16:49PM +0200, Mattias Bud wrote: > Jens Kraemer wrote: > > On Fri, Jun 15, 2007 at 11:17:27AM +0200, Mattias Bud wrote: > >> > > >> /vendor/plugins/acts_as_ferret/lib/local_index.rb:217:in `add_field' > >> > >> Does this help? > > > > yeah, jusat do what it says - disable term vector storage by adding > > :term_vector => :no to the field options for the :index => :no field. > > > > AAF trunk now should handle this correctly :-) > > > > Jens > > I have the trunk version. This removes the error but the search doen't > match what I was looking for. I have a large number of dates in > dirrerent formats. > > Like this one 6.9.-8.9. 1796 > > When I search for 6.9.* - the result is blank. I'm maybee missing > something here.
if this date string is in the date_comment_index field, you won't find it as long as you say :index => :no. The correct choice for fields you want to search, but not to be tokenized is :index => :untokenized. :index => :no is only useful for fields you never want to search, but which should hold data to be retrieved later on. 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 [EMAIL PROTECTED] | www.webit.de Amtsgericht Dresden | HRB 15422 GF Sven Haubold, Hagen Malessa _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

