Expand description
Runs tree traversal and final ranking from host-provided in-memory candidate scores.
Structs§
- Candidate
Search Outcome - Tree paths and flattened ranked nodes produced by one in-memory search.
- Scored
Node Candidate - One scored node candidate supplied by an external retrieval adapter.
Enums§
- Candidate
Search Error - Validation failure returned by strict external-score entry points.
Functions§
- resolve_
search_ mode - Resolves Auto mode with the same hierarchy ratio used by the SQLite adapter.
- search_
with_ candidates - Searches from a flat candidate list, merging duplicate document/node pairs by maximum score.
- search_
with_ candidates_ strict - Strictly validates a flat candidate list and rejects duplicate node identities.
- search_
with_ scores - Searches a document forest using a host-provided nested score map.
- search_
with_ scores_ strict - Strictly validates a nested score map before running candidate search.
Type Aliases§
- Candidate
Score Map - Initial lexical or hybrid scores grouped by document ID and then node ID.