Size caps on every text the library accepts, checked before any scanning or
I/O. A text over its cap is refused as {:error, {:too_long, field}}.
| field | bytes |
|---|---|
content | 32,768 |
query | 2,048 |
each facet (name=value), reason | 2,048 |
| each source reference | 2,048 |
each cue (kind:value) | 2,048 |
key, each derived_from key, owner kind and key, subject, consent, reviewed_by, each affect_scope | 256 |
persona_set_by, persona_proposed_by, each persona_scope | 256 |
Summary
Functions
The cap for field, in bytes.
:ok when every string in value (a string, or a list of strings and
{name, value} pairs, measured as stored: name=value) fits field's cap.