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

Immutable bounded search value, distinct from QueryPage<T> and source row count. More...

#include <search.hpp>

Public Attributes

SearchSourceIdentity source
 Exact weak source identity; does not own the index.
std::string query = std::string(0, '\0')
 Owning original query bytes.
std::uint64_t generation {}
 Latest UI query intent, not a source/result revision.
std::vector< ModelRow< SearchItem > > rows = std::vector<ModelRow<SearchItem>>(0)
 Ranked deduplicated top-K.
bool hasMore {}
 One further distinct result was proven.
std::size_t querySteps {}
 Counted worker query work, independent of UI/frame time.

Detailed Description

Immutable bounded search value, distinct from QueryPage<T> and source row count.


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