Class | Ferret::Search::Hit
In: | ext/r_search.c
Parent: | Object

## 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]