You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
An exact count is published for a relationship path condition on a related custom index #3926
Table.search's exact-count path decides whether a result set is approximate with touchesCustomIndex (resources/Table.ts). For a relationship path condition it reads only the path's first segment against the queried table's indexes, so a condition that reaches a related table's custom (HNSW) index through a to-one path, such as ['owner', 'embedding'] with a vector comparator, is treated as exact. A count requested as exact can then be published from a bounded candidate set.
Expected
Follow the path through each relationship and check the related table's index for the leaf, as the same function now does for a same-record group ({ attribute, conditions }).
Pre-existing; found while reviewing the existential relationship conditions change.
Activity