Method HasNarrowDisjunction(FilterExpression?, IReadOnlyDictionary<string, FieldInfo>)

Assembly: redb.Core.Pro.dll

Whether the filter, or an operand of its top-level AND, is an OR whose every branch is narrow
(the disjunction candidate scores at least ).
Such an OR is what the row prefilter of the aggregate form is for: each branch reads its own
structure from the index of values. The streams form cannot push it down, the branches sit on
different streams, so it would check the OR above the streams after every object had been
joined: an order number searched in three fields, 0.1 s with the prefilter, 2 s in streams.

public static bool HasNarrowDisjunction(FilterExpression? filter, IReadOnlyDictionary<string, FieldInfo> fields)