schedule

fun schedule(context: Context, replace: Boolean = false)(source)

Makes sure both jobs are queued, if a search, text or face model is installed. Safe to call often (app start). A backlog job waiting out a back-off is replaced by a fresh one, so opening Lumen restarts a stalled index; a running one is left alone.