Jens Kraemer wrote: ... > results = Link.find_by_contents(query) > result = results.first > result.highlight(query, :field => :description) # returns nil > > doc_num = result.document_number > > # if you are on aaf trunk: > Link.aaf_index.ferret_index.highlight(query, doc_num, :field => > :description) > # if on aaf stable: > Link.ferret_index.highlight(query, doc_num, :field => :description) > > > this would directly use ferret's highlight method. Btw, what version of > aaf do you use? > ... Hi all, same Problem here...using gem version 0.11.3. I tried the above but still 'nil'. How can I find out if :store is set to :yes?
Regards Peter -- Posted via http://www.ruby-forum.com/. _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

