I want to import data from mysql-table and csv file ata the same time beacuse
some data are in mysql tables and some are in csv file . I want to match
specific id from mysql table in csv file then add the data in solar.

What i think or wnat to do....

<dataConfig>
        <dataSource name ="db1" driver="org.postgresql.Driver"
                    url="jdbc:postgresql://0.0.0.0:5432/XXX"
                    user="XXX" password="root" />

        <document>
                <entity name="user"  dataSource="db1" query='select id, name
from table' >
                        <field column="id" name="id" />
                        <field column="name" name="name" />
               </entity>


                <entity name="user2"  dataSource="csv-datasource" >
                        <field column="csv data1" name="csv data1" />
               </entity>

Is this possible in solr? 

Please suggest me How to import data from csv and mysql table at the same
time.









--
View this message in context: 
http://lucene.472066.n3.nabble.com/dataimport-db-data-config-xml-tp4270673p4273614.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to