Skip to main content

MAX_KEYMATCH_LIST

Constant MAX_KEYMATCH_LIST 

Source
pub const MAX_KEYMATCH_LIST: usize = 512;
Expand description

How many elements of a list-valued KeyMatch field are considered.

A KeyMatch field holding a Value::List acts as a set of foreign keys: each string element that names a live destination node yields its own edge. Only the first MAX_KEYMATCH_LIST elements in stored order participate — in matching, in the src-side index, and in candidate lookup — so one node can never fan out without bound. Elements past the cap are ignored deterministically: the same list always produces the same edges.