Re: Resume Solr indexing CSV after exception

2010-09-01 Thread Lance Norskog
No. They are talking about a new feature in the DataImportHandler for reading CSV files. On Tue, Aug 31, 2010 at 1:55 PM, romiawasthy wrote: > > How do I use this feature, is there some parameter that I need to specify in > the update request? > > curl > http://localhost:8983/solr/update/csv?stre

Re: Resume Solr indexing CSV after exception

2010-08-31 Thread romiawasthy
How do I use this feature, is there some parameter that I need to specify in the update request? curl http://localhost:8983/solr/update/csv?stream.file=exampledocs/books.csv&stream.contentType=text/plain;charset=utf-8 -- View this message in context: http://lucene.472066.n3.nabble.com/Resume-S

Re: Resume Solr indexing CSV after exception

2010-06-11 Thread David George
cool I will try that. -- View this message in context: http://lucene.472066.n3.nabble.com/Resume-Solr-indexing-CSV-after-exception-tp878801p888605.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Resume Solr indexing CSV after exception

2010-06-11 Thread Brad Greenlee
Why not just use the onError attribute on entity? The default is to abort, but you can also specify "skip" to skip the current document, or "continue" to continue as if the error never happened. See http://wiki.apache.org/solr/DataImportHandler#Schema_for_the_data_config Brad On Fri, Jun 11, 2010

Re: Resume Solr indexing CSV after exception

2010-06-11 Thread David George
I modified TikaEntityProcessor to ignore these exceptions.: If the Tika Entity processor encounters an exception it will stop indexing. I had to make two fixes to TikaEntityProcessor to work around this problem. >From the Solr SVN trunk edit the file: ~/src/solr-svn/trunk/solr/contrib/dataimpor