Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/spring/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Spring Solr索引模型类_Spring_Solr_Solr4 - Fatal编程技术网

Spring Solr索引模型类

Spring Solr索引模型类,spring,solr,solr4,Spring,Solr,Solr4,我是solr新手。我正在尝试向solr添加数据。我接受过关于属性和getter/setter方法的课堂教育。我正在尝试将字段添加到solr列表中。schema.xml中的字段类型应该是什么 <field name="education" type="string" indexed="true" stored="true" multiValued="true" /> 实际上不清楚您在找什么。如果你发布更多关于你的项目的信息,这将非常有帮助。无论如何,教育是你申

我是solr新手。我正在尝试向solr添加数据。我接受过关于属性和getter/setter方法的课堂教育。我正在尝试将字段添加到solr列表中。schema.xml中的字段类型应该是什么

<field name="education"      type="string"   indexed="true"  stored="true"  multiValued="true" />  


实际上不清楚您在找什么。如果你发布更多关于你的项目的信息,这将非常有帮助。无论如何,教育是你申请的一门课。您可能不需要在schema.xml中声明其类型。我猜您可能需要在模式中用相关字段类型定义类的属性。这个问题非常一般,不太可能回答