Module Ufind.Matching
Obtaining detailed matching results
Use this module if select_data is not sufficient for your needs.
For instance, in order to obtain a global ranking of results obtained from different searches, use find and to_list instead of select_data.
val data : 'a item → 'aExtract the data from the matching item.
val find : ?folding:casefolding → matching_defect:matching_defect → 'a search_item Seq.t → string → 'a item Seq.tfind sitems nameimmediately returns the lazy sequence ofitems matching the givennamein the sequence of search itemssitems. The returned sequence may be infinite ifsitemsis infinite.The
matching_defectparameter defines the function used for matching: its first entry is (given by) the providedname.Warning: the
foldingparameter must be the same as the one used to create thesitemssequence.