Hi,

Le 5 sept. 06, à 01:18, David Balmain a écrit :
> Can you give me an example of what doesn't work? Something like this;
>
>     require 'rubygems'
>     require 'ferret'
>
>     i = Ferret::I.new(:default_field => :content)
>     i << {:content => "here is the content I want to highlight."}
>
>     puts i.highlight("content", 0)

In fact this example work. The difference here is that doc is not 
stored in the index though aaf probably. It's probably the reason why I 
don't have a result: even Myclass.ferret_index.doc(12) returns {}.

--
Jean-Christophe Michel

_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to