Robert Hulme wrote: > Is there a way to discover which fields in a document matched the search > that was performed? > > I've just started with Ferret, but so far I can only get back the ids of > the documents that were matched (along with the score). > > I'm aware there is a highlighting method, but I was hoping for something > computer readable (unless I'm misunderstanding what data can be gained > from that method).
I've implemented a field_scores hash that can be returned along with each document and aggregate score. It's only currently working in Ferret 0.11.4. _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

