Writing to multiple indices using spark connector

To clarify, are you asking if we can write all three of those documents to three different indices, or are you wondering if each document can be written to a different index based on its contents?