<document> tag represents to the actual SOLR document that will be posted by the DIH. This mapping is used by the DIH to map DB-to-index document. You can have multiple <entity> tags, as you might be pulling data from more than 1 table.
You can only have one <document> tag in you db-data-config.xml (remember, the purpose of db-data-config.xml is to map db-structure TO index-structure semantics) -- View this message in context: http://lucene.472066.n3.nabble.com/What-is-document-tag-in-data-config-xml-of-Solr-tp2978668p2988176.html Sent from the Solr - User mailing list archive at Nabble.com.