Refactor issue indexer (project-agnostic approach)