【发布时间】:2013-12-02 15:59:22
【问题描述】:
架构:
<field name="tags" type="string_ci" indexed="true" stored="true" multiValued="true" />
文档:
document = {
"id":123,
"title":"this is title",
"description":"this is desc",
"tags":["beach", "luxury", "RTW"]
}
错误:
<title>Error 400 ERROR: [doc=20] Error adding field \'tags\'=\'[beach, luxury, RTW]\'</title>
我尝试了 REST、python 模块 solrpy 和 sunburnt,但给出了同样的错误。
【问题讨论】:
-
查看使用 Sunburnt 添加多值字段的记录方法很有用。