do an onError="skip" on the inner entity

On Fri, Apr 23, 2010 at 3:56 AM, Otis Gospodnetic
<otis_gospodne...@yahoo.com> wrote:
> Hello,
>
> Here is a newbie DataImportHandler question:
>
> Currently, I have entities with entities.  There are some
> situations where a column value from the outer entity is null, and when I try 
> to use it in the inner entity, the null just gets replaced with an
> empty string.  That in turn causes the SQL query in the inner entity to
> fail.
>
> This seems like a common problem, but I couldn't find any solutions or 
> mention in the FAQ ( http://wiki.apache.org/solr/DataImportHandlerFaq )
>
> What is the best practice to avoid or convert null values to something safer? 
>  Would
> this be done via a Transformer or is there a better mechanism for this?
>
> I think the problem I'm describing is similar to what was described here:  
> http://search-lucene.com/m/cjlhtFkG6m
> ... except I don't have the luxury of rewriting the SQL selects.
>
> Thanks,
> Otis
> ----
> Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
> Lucene ecosystem search :: http://search-lucene.com/
>
>



-- 
-----------------------------------------------------
Noble Paul | Systems Architect| AOL | http://aol.com

Reply via email to