2013-09-23 38 views

回答

0

您需要定义需要在schema.xml中导入的字段。
DIH不会自动生成字段,如果字段数量较少,最好创建字段。

Solr还允许您定义Dynamic fields,其中字段不需要明确定义,但只需要匹配正则表达式模式。

<dynamicField name="*_i" type="integer" indexed="true" stored="true"/> 

您也可以为同样的分析将适用于所有的字段定义一个catch场Solr的,但行为无法控制。

相关问题