2011-08-30 33 views

回答

0

我使用solrj已經從數據庫索引表。

我已經進入現場標籤schema.xml中與用戶定義的名稱。

樣品字段標籤:

<field name="id" type="string" indexed="true" stored="true" required="true" /> 

另請參閱Schema XML File

希望這回答了你的疑惑..