Recollect.OutcomeTracker (recollect v0.5.1)

Copy Markdown View Source

ETS table for tracking the last-retrieved entry IDs per scope.

No GenServer needed — this is a simple public ETS table that search writes to and outcome feedback reads from.

Summary

Functions

Get the last-retrieved entry IDs for a scope.

Initialize the ETS table. Call from Application.start/2.

Store the retrieved entry IDs for a scope. Overwrites previous value.

Functions

get(scope_id)

Get the last-retrieved entry IDs for a scope.

init()

Initialize the ETS table. Call from Application.start/2.

set(scope_id, entry_ids)

Store the retrieved entry IDs for a scope. Overwrites previous value.