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

Independent source/result caps; query admission uses the ordinary editor TextLimits. More...

#include <find_bar.hpp>

Public Attributes

std::size_t maxDocumentBytes {65536}
 Owning UTF-8 source cap, including zero for empty sources only.
std::size_t maxMatches {4096}
 Positive number of retained matches; additional results set truncated.

Static Public Attributes

static constexpr std::size_t MAX_DOCUMENT_BYTES = 1024 * 1024
 Hard synchronous source ceiling.
static constexpr std::size_t MAX_QUERY_BYTES = 16 * 1024
 Hard synchronous query ceiling.
static constexpr std::size_t MAX_MATCHES = 65536
 Hard stored-range ceiling.

Detailed Description

Independent source/result caps; query admission uses the ordinary editor TextLimits.


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