[INTERNAL] Yara: simplified index type selection