Re: How to more gracefully handle field format exceptions?

2012-09-25 Thread Chris Hostetter
: In my thinking (and for this situation), it would be much better to : just ignore the malformed field and keep the doc - is there any way to : configure this or enable this behavior instead? 4.0-ALPHA added some new UpdateProcessorFactories that can be configured in your solrconfig.xml when yo

Re: How to more gracefully handle field format exceptions?

2012-09-24 Thread Aaron Daubman
Hi Otis, I was just looking at how to implement that, but was hoping for a cleaner method - it seems like I will have to actually parse the error as text to find the field that caused it, then remove/mangle that field and attempt re-adding the document - which seems less than ideal. I would think

Re: How to more gracefully handle field format exceptions?

2012-09-24 Thread Otis Gospodnetic
Hi Aaron, You could catch the error on the client, fix/clean/remove, and retry, no? Otis -- Search Analytics - http://sematext.com/search-analytics/index.html Performance Monitoring - http://sematext.com/spm/index.html On Mon, Sep 24, 2012 at 9:21 PM, Aaron Daubman wrote: > Greetings, > > Is t

How to more gracefully handle field format exceptions?

2012-09-24 Thread Aaron Daubman
Greetings, Is there a way to configure more graceful handling of field formatting exceptions when indexing documents? Currently, there is a field being generated in some documents that I am indexing that is supposed to be a float but some times slips through as an empty string. (I know, fix the d