On 12 May 2014 22:52, helder.sepulveda <helder.sepulv...@homes.com> wrote:
> 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>

Hmm, see no issues here. Can you also share your Solr schema?
Is the URL accessible, and the results from Solr show properly when
loaded in a browser window? I cannot seem to reach slszip11.as.homes.com
but that could be because it is restricted to certain IPs.

Regards,
Gora

Reply via email to