> Are you committing? You have to commit for them to be actually added….

If DIH says it did not add any documents ("added 0 documents") committing won't 
help.

Likely, there is a problem with the mapping between DIH and the schema so that 
none of the fields make it into the index. We would need the DIH and the schema 
file, as Andy pointed out already.

Cheers,
Chantal



> 

> -----Original Message-----
> From: ranmatrix S [mailto:ranmat...@gmail.com] 
> Sent: Thursday, August 23, 2012 5:46 PM
> To: solr-user@lucene.apache.org
> Subject: Solr Index problem
> 
> Hi,
> 
> I have setup Solr to index data from Oracle DB through DIH handler. However 
> through Solr admin I could see the DB connection is successfull, data 
> retrieved from DB to Solr but not added into index. The message is that "0 
> documents added" even when I am able to see that 9 records are returned back.
> 
> The schema and fields in db-data-config.xml are one and the same.
> 
> Please suggest if anything I should look for.
> 
> --
> Regards,
> Ran...

Reply via email to