Struct elipdotter::index::LosslessOccurrences
source · pub struct LosslessOccurrences<'a> { /* private fields */ }
Expand description
Get occurrences of a word (or similar words) from this Lossless
index.
Implementations§
source§impl<'a> LosslessOccurrences<'a>
impl<'a> LosslessOccurrences<'a>
sourcepub fn new(index: &'a Lossless, word_proximates: &'a ProximateMap<'a>) -> Self
pub fn new(index: &'a Lossless, word_proximates: &'a ProximateMap<'a>) -> Self
The proximity::ProximateMap
can be acquired from
crate::query::Documents::take_proximate_map
which is returned from crate::Query::documents
.