Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::SearchRank Struct Reference

Deterministic rank. Smaller tuple sorts first; source ordinal resolves equal scores. More...

#include <search.hpp>

Public Member Functions

auto tuple () const noexcept

Public Attributes

std::uint8_t edits {}
 Zero or one normalized-grapheme edit.
bool token {}
 Full-label terms precede token-only matches.
std::size_t unmatched {}
 Remaining normalized term graphemes.
std::uint64_t sourceOrdinal {}
 Stable order in this exact source pin.
RowId row
 Final tie break includes row generation.

Detailed Description

Deterministic rank. Smaller tuple sorts first; source ordinal resolves equal scores.

Member Function Documentation

◆ tuple()

auto portals::SearchRank::tuple ( ) const
inlinenoexcept
Returns
Lexicographic deterministic rank tuple.

The documentation for this struct was generated from the following file: