In Files

Parent

Class/Module Index [+]

Quicksearch

Ferret::Search::Hit

Summary

A hit represents a single document match for a search. It holds the document id of the document that matches along with the score for the match. The score is a positive Float value. The score contained in a hit is not normalized so it can be greater than 1.0. To normalize scores to the range 0.0..1.0 divide the scores by TopDocs#max_score.

[Validate]

Generated with the Darkfish Rdoc Generator 2.