What affects indexing the most?

Unique value, canonicalization, duplicate content, site quality signals, and correct HTTP responses. Structured data complements but doesn’t replace this.