lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mathieu lacage <>
Subject DataImportHandler fails silently
Date Fri, 27 Jan 2012 18:39:53 GMT

I have setup my solr installation to run with jetty and I am trying to
import an sqlite database in the solr index. I have setup a jdbc sqlite

  <dataSource type="JdbcDataSource" driver="org.sqlite.JDBC"
  <document name="document">
    <entity name="item" query="select id,thread_title from content">
      <field column="ID" name="id" />
      <field column="THREAD_TITLE" name="thread_title" />

The schema:
   <field name="id" type="int" indexed="true" stored="true" required="true"
   <field name="thread_title" type="text" indexed="true" stored="true"/>

I kickstart the import process with
"wget http://localhost:8080/solr/dataimport?command=full-import"

It seems to work but the following command reports that only 499 documents
were indexed (yes, there are many more documents in my database):

"wget http://localhost:8080/solr/dataimport?command=status"

and the logs seem to imply that the import is finished:

INFO: Read
27-Jan-2012 19:37:17 org.apache.solr.handler.dataimport.SolrWriter persist
INFO: Wrote last indexed time to
27-Jan-2012 19:37:17 org.apache.solr.handler.dataimport.DocBuilder execute
INFO: Time taken = 0:0:1.52

I am at a loss. What can I do to debug this further ? Help of any kind
would be most welcome.
Mathieu Lacage <>

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message