开发者

Index all tables from the database using Apache Solr

开发者 https://www.devze.com 2023-03-31 13:03 出处:网络
How to index most of the t开发者_如何学Cables(ex:20 table) using Apache solr We need to add entity tag for each and every table in the dataconfig.xml?

How to index most of the t开发者_如何学Cables(ex:20 table) using Apache solr

We need to add entity tag for each and every table in the dataconfig.xml?

Thanks in advance

Dilip


I had index tables from database using solrj.

I had entered Field tag in schema.xml with user-defined name.

Sample Field Tag:

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

Also refer to Schema XML File

Hope it answers your doubts..

0

精彩评论

暂无评论...
验证码 换一张
取 消