下面是我导入到solr的JSON示例,logDetails字段包含整个json.how,用于在schema.xml中编写索引,因为括号内的括号我不知道
{ "id" : "978-0641723445",
"author":"Rick Riordan",
"logDetails":{
"tphon_num_txt":"No Number",
"brch_cd":"C4"
}
},
{ "id" : "978-1423103349",
"author" : "Rick Riordan",
"logDetails":{
"tphon_num_txt":"No Number",
"brch_cd":"C4"
}
}