While CSV is perfectly an useful import format for Solr, it starts to get unwieldy very quickly. Fortunately, Solr supports a number of import formats. One of them is Solr's own update XML import format. It is more verbose than CSV, but you will see that it is easier to read and deals better with multivalued fields, optional fields, complex text strings, and other real-life requirements.
multivalueddirectory to a directory named
xmland delete the
datasubdirectory in the new copy.
<core name="xml" instanceDir="xml" />
a. Inside the
fields section, add three ...