Python program to convert CSV data file to data.xml and schema.xml for Solr Apache Search enigne The CSV file must contain 'flag' row which has value 0 (string), 1(text) and None(integer) for each field, 'field type' row which indicates the data type for each field (integer, string or text) The CSV file in this project contains data type text_ja which is Japanese text.