Newbie at SOLR,

When I ran through my test data config, it was able to find my 91 rows
sample test.  However, it didn't add any into my index.
Can someone help me and tell me why?   

Please find the data config below:

<dataConfig>
    <dataSource driver="com.microsoft.sqlserver.jdbc.SQLServerDriver"
url="jdbc:sqlserver://localhost\TESTSERVER:4317;databaseName=Northwind;user=sa;password=datapassword"
/>
    <document>
        <entity name="Customers" query="select * from Customers">
            <field column="CustomerID" name="customerid" />
            <field column="CompanyName" name="companyname" />
            <field column="ContactName" name="contactname" />
            <field column="Address" name="address" />
            <field column="City" name="city" />
            <field column="ContactTitle" name="contacttitle" />
           
        </entity>
    </document>
</dataConfig>


Here is the result when I run http://localhost:8983/solr/dataimport? (after
I ran the full import)
<response>
<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">15</int>
</lst>
<lst name="initArgs">
<lst name="defaults">
<str name="config">dataconfig.xml</str>
</lst>
</lst>
<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">91</str>
<str name="Total Documents Skipped">0</str>
<str name="Full Dump Started">2011-05-19 15:09:56</str>
<str name="">
Indexing completed. Added/Updated: 0 documents. Deleted 0 documents.
</str>
<str name="Committed">2011-05-19 15:09:57</str>
<str name="Optimized">2011-05-19 15:09:57</str>
<str name="Total Documents Processed">0</str>
<str name="Time taken ">0:0:1.765</str>
</lst>
<str name="WARNING">
This response format is experimental. It is likely to change in the future.
</str>
</response>

Please help. 

Thx.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Help-Data-Import-not-indexing-in-solr-tp2963450p2963450.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to