[TASK] Refactor IndexedSearch hook examples