Documentation
1
2
3
4
5
6
7
8
9
use super::Score;

#[derive(Clone, Debug, PartialEq, Eq)]
pub struct Hit<Id> {
    pub id: Id,
    pub score: Score,
    /// Index into the entity's `searchable_field_names()` slice.
    pub matched_field: usize,
}