Some details? well i think its clear but still here is the part of my
solrconfig


<requestHandler name="/dataimport"
class="org.apache.solr.handler.dataimport.DataImportHandler">
    <lst name="defaults">
            <str name="config">dbconfig.xml</str>
      <lst name="datasource">
         <str name="name">database</str>
         <str name="type">JdbcDataSource</str>
         <str name="driver">com.mysql.jdbc.Driver</str>
         <str name="url">jdbc:mysql://abcd/efgh</str>
         <str name="user">some</str>
         <str name="password">some</str>
      </lst>
      <lst name="datasource">
         <str name="name">url_data</str>
         <str name="type">URLDataSource</str>
         <str name="processor">XPathEntityProcessor</str>
      </lst>
    </lst>
  </requestHandler>


and my dbconfig
/* Fields from DB */
/* Fields from DB */
/* Fields from DB */
/* Fields from DB */
...
...
..
<entity name="universal" dataSource="url_data" 
url="http://ffff.tttt.com/fddgtr.php/${sa.somevalue}";
                        processor="XPathEntityProcessor"
                        forEach="/some/somefield">
                        <field column="info"      
xpath="/some/somefield/info"/>
            </entity>

-----
Zeki ama calismiyor... Calissa yapar...
--
View this message in context: 
http://lucene.472066.n3.nabble.com/Too-slow-indexing-while-using-2-different-data-sources-tp2959551p2959626.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to