Function elipdotter::proximity::proximate_word_docs
source · pub fn proximate_word_docs<'a, P: Provider<'a>>(
provider: &'a P,
words: &'a ProximateList
) -> ProximateDocIter<'a, P> ⓘ
Expand description
Search for words
in provider
.
The output isn’t ordered according to document IDs.
Use ProximateDocItem
and Iterator::collect
to map the iterator to the
ProximateDocItem
, then collect it in a BTreeSet
, then IntoIterator::into_iter
and map
again.