search for: each_with_field_scores

Displaying 1 result from an estimated 1 matches for "each_with_field_scores".

2006 Jan 13
0
Scoring by field
Hello, I''ve added a feature to Ferret that breaks down the score of each matched document by the contribution from each of the document''s fields. IndexSearcher now has a search_each_with_field_scores method, and TopDocs has an each_with_field_scores method. Both yield a third parameter, being a new score_by_field attribute of ScoreDoc. score_by_field is a hash with field_name keys and score values. I find this useful when I have indexed a document by using a separate field for each section of...