简体   繁体   中英

Index all tables from the database using Apache Solr

How to index most of the tables(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..

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM