DIH does not simply fail. Without more information, it's hard just to
guess.
As your using MS SQLServer, maybe you ran into this?

http://blogs.msdn.com/b/jdbcteam/archive/2011/11/07/supported-java-versions-november-2011.aspx

Would be a problem caused by certain java versions.

Have you turned the DEBUG level on for DIH and Solr in general?

Chantal



On Mon, 2011-12-19 at 18:55 +0100, PeterKerk wrote:
> Hi Chantal,
> 
> I reduced my data-config.xml to a bare minimum:
> <dataConfig>
> <dataSource driver="com.microsoft.sqlserver.jdbc.SQLServerDriver"
> url="jdbc:sqlserver://localhost:1433;databaseName=tt" user="sa"
> password="dfgjLJSFSD" />
>         <document name="weddinglocations">
>         <entity name="location" query="select * from locations WHERE
> isapproved='true'">
>             <field name="id" column="ID" />
>             <field name="title" column="TITLE" />
>         </entity>
>     </document>
> </dataConfig>
> 
> I ran reload-config succesfully, but still the same behavior occurs.
> Oh and the query select * from locations WHERE isapproved='true' returns a
> lot of results when ran directly against my DB
> 
> What else can it be?
> 
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/full-data-import-suddenly-stopped-working-Total-Rows-Fetched-remains-0-tp3599004p3599087.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to