Here is the data config:

<dataConfig>
    <dataSource type="URLDataSource" />

    <document name="listingcore">
        <entity name="listing" pk="link"
                url="http://slszip11.as.homes.com/solr/select?q=*:*";
                processor="XPathEntityProcessor"
                forEach="/response/result/doc"
                transformer="DateFormatTransformer">
            <field column="batch_address"  
xpath="/response/result/doc/str[@name='batch_address']"/> 
            <field column="batch_state"    
xpath="/response/result/doc/str[@name='batch_state']"/> 
            <field column="batch_city"     
xpath="/response/result/doc/str[@name='batch_city']"/> 
            <field column="batch_zip"      
xpath="/response/result/doc/str[@name='batch_zip']"/> 
            <field column="sz_id"          
xpath="/response/result/doc/long[@name='sz_id']"/> 
        </entity>
    </document>
</dataConfig>






--
View this message in context: 
http://lucene.472066.n3.nabble.com/URLDataSource-indexing-from-other-Solr-servers-tp4135321p4135331.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to