Have a CSV file, but there is no primary key field in the id, solr schema has set the id to the growth,
and use solrj can submit without the doc id field , but using the HTTP protocol to submit it shows:
The Document is missing mandatory uniqueKey field: id
The update/CSV is configured to:
Submit links to http://localhost:8080/solr/update/csv? Commit=true& Stream. The file=f:/data/data. Csv& Stream. ContentType=text/plain;
O great god answers,
Ps: solr4.5 environment, CSV head (header),
CodePudding user response:
Good ah,,,,