lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tedsolr <tsm...@sciquest.com>
Subject Continue indexing doc after error
Date Tue, 01 Jul 2014 20:37:12 GMT
I need to index documents from a csv file that will have 1000s of rows and
100+ columns. To help the user loading the file I must return useful errors
when indexing fails (schema violations). I'm using SolrJ to read the files
line by line, build the document, and index/commit. This approach allows me
to index the docs that have no schema validation errors, skipping over the
docs that do. However, I really want to report errors field by field. As the
user makes corrections to the file, this would prevent the same doc from
failing multiple times if there are several fields that are busted.I have
not seen a configuration setting that tells solr to keep indexing the doc
after it encounters the first error, reporting back all the field errors
(multiple exceptions). Does anyone know if that's possible?Using Solr 4.8.1



--
View this message in context: http://lucene.472066.n3.nabble.com/Continue-indexing-doc-after-error-tp4145081.html
Sent from the Solr - User mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message