You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Romi <ro...@gmail.com> on 2011/05/24 07:56:12 UTC

What is document tag in data-config.xml of Solr

Hi, I am working with solr server. i want to fetch data from MySQL database
to solr. the following is the db-data-config.xml:

<dataConfig>
    <dataSource type="JdbcDataSource" driver="org.gjt.mm.mysql.Driver"
url="jdbc:mysql://192.168.1.9:3306/angara" user="dev_user"
password="ampliflex" />
    <document>
         <entity name="tdiamonds1" query="select UID_PK, ProductUID, name,
price,Weight from tdiamonds">

         </entity>
    </document>
</dataConfig>

i want to know what <document>tag indicates here, can we give more then one
tag here, if possible please refer me some good example

-----
Romi
--
View this message in context: http://lucene.472066.n3.nabble.com/What-is-document-tag-in-data-config-xml-of-Solr-tp2978420p2978420.html
Sent from the Solr - User mailing list archive at Nabble.com.