lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noble Paul നോബിള്‍ नोब्ळ् <noble.p...@gmail.com>
Subject Re: DIH: inner select fails when outter entity is null/empty
Date Sun, 25 Apr 2010 13:16:22 GMT
do an onError="skip" on the inner entity

On Fri, Apr 23, 2010 at 3:56 AM, Otis Gospodnetic
<otis_gospodnetic@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

Mime
View raw message