Skip to main content

Module rank

Module rank 

Expand description

Merging hits from different sources.

Each source finds and ranks its own hits (through a SearchCatalog or a ListIndex); a surface that shows several sources in one list merges them by their provider bias and how the query meets the title each hit shows, so an exact visible title beats a weak match from another source.

Structs§

FieldWeight
The share of MAX_FIELD_RANK a match in one field is worth, in percent.

Enums§

MatchTier
How strongly a query matched one field; later variants are stronger.

Functions§

match_tier
The tier at which folded query meets folded text, if it occurs: exact, prefix, a later word start, or anywhere.
result_relevance
How the query meets one displayed hit, for merging sources: the tier in its title, else in its subtitle at subtitle weight.