我正在使用post
cli
这是示例csv:
v21,v22
v31,v33
这是装载:
solr create -c test
post -c test example.csv
让我们查询:http://localhost:8983/solr/test/select?indent=on&q= :& wt = json
{
"responseHeader":{
"status":0,
"QTime":0,
"params":{
"q":"*:*",
"indent":"on",
"wt":"json"}},
"response":{"numFound":2,"start":0,"docs":[
{
"v11":["v21"],
"v12":["v22"],
"id":"f91582c7-9cfa-48db-813e-05b672261186",
"_version_":1566774492373450752},
{
"v11":["v31"],
"v12":["v33"],
"id":"540fc0c0-0036-4823-8db3-bbb8bb3fb170",
"_version_":1566774492421685248}]
}}
所有csv字段都是solr的数组,"v11":["v31"]
怎么了?