lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Griffiths <>
Subject RE: Rows fetch OK, Total Documents Failed??
Date Mon, 02 Aug 2010 12:29:36 GMT
Check your schema.xml; one of the fields is probable "Required," and it's not matching to a
field extracted from DIH. Keep in mind that schema.xml is case-sensitive for names.

-----Original Message-----
From: [] 
Sent: Saturday, July 31, 2010 3:30 AM
Subject: DIH: Rows fetch OK, Total Documents Failed??


I'm a bit lost with this, i'm trying to import a new XML via DIH, all row are fetched but
no ducument are indexed? I don't find any log or error?

Any ideas?

Here is the STATUS:

<str name="command">status</str>
<str name="status">idle</str>
<str name="importResponse"/>
<lst name="statusMessages">
<str name="Total Requests made to DataSource">1</str> <str name="Total Rows
Fetched">7554</str> <str name="Total Documents Skipped">0</str> <str
name="Full Dump Started">2010-07-31 10:14:33</str> <str name="Total Documents
Processed">0</str> <str name="Total Documents Failed">7554</str> <str
name="Time taken ">0:0:4.720</str> </lst>

My xml file looks like this:

<?xml version="1.0" encoding="UTF-8"?>
        <title>Moniteur VG1930wm 19 LCD Viewsonic</title>
        <content>Moniteur VG1930wm 19  LCD Viewsonic VG1930WM</content>

and my dataconfig:

        <dataSource type="URLDataSource" />
                <entity name="products"

                        <field column="id"      xpath="/products/product/url"   commonField="true"
                        <field column="title"   xpath="/products/product/title" commonField="true"
                        <field column="category"  xpath="/products/product/category" />
                        <field column="content"  xpath="/products/product/content" />
                        <field column="price"      xpath="/products/product/price" />

View raw message