FAQ
Can you try using onError=skip on your entities which use this data source?

It's been some time since I looked at the code so I don't know if this
works with data source. Worth a try I guess.
On Fri, Jan 17, 2014 at 7:20 PM, Peter Keegan wrote:
Following up on this a bit - my main index is updated by a SolrJ client in
another process. If the DIH fails, the SolrJ client is never informed of
the index rollback, and any pending updates are lost. For now, I've made
sure that the DIH processor never throws an exception, but this makes it a
bit harder to detect the failure via the admin interface.

Thanks,
Peter

On Tue, Jan 14, 2014 at 11:12 AM, Peter Keegan wrote:

I have a custom data import handler that creates an ExternalFileField from
a source that is different from the main index. If the import fails (in my
case, a connection refused in URLDataSource), I don't want to roll back any
uncommitted changes to the main index. However, this seems to be the
default behavior. Is there a way to override the IndexWriter rollback?

Thanks,
Peter


--
Regards,
Shalin Shekhar Mangar.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 6 | next ›
Discussion Overview
groupsolr-user @
categorieslucene
postedJan 14, '14 at 4:13p
activeJan 17, '14 at 4:30p
posts6
users3
websitelucene.apache.org...

People

Translate

site design / logo © 2021 Grokbase