1

架构:

<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,但给出了同样的错误。

4

1 回答 1

-1

问题解决了!我的 solr 架构似乎有问题。

于 2013-11-19T08:56:41.520 回答