Reputation: 639
I want to perform indexing in Solr using CSV file. Solr throws an error if there is even a single row having empty required field, it stops whole indexing, as result I get no row indexed. I want to know how do I ignore such rows without required fields and perform indexing on only rows having required fields. Following is the entry for column in schema.xml :
<field name="XXXX" type="string" indexed="true" stored="true" required="true" multiValued="false" />
Thank you in advance.
Upvotes: 0
Views: 581
Reputation: 9789
You have a couple of options:
Upvotes: 2