Ok. I've checked AbstractSqlEntityProcessorTestCase.
Please make the next attempt with

where="PROPERTY_ID=propertiesList.PROPERTY_ID"


On Tue, Apr 18, 2017 at 4:35 PM, ankur.168 <ankur.15...@gmail.com> wrote:

> Yes, both column names are same. But if we just use property_id=property_id
> in child entity, then how zipper gets to know which child document to merge
> with which parent?
>
> Any how I just tried with ur suggested where condition which result in
> arrayindexoutofbound exception, here are the logs
>
> Caused by: org.apache.solr.handler.dataimport.DataImportHandlerException:
> java.lang.ArrayIndexOutOfBoundsException: -1
>         at
> org.apache.solr.handler.dataimport.DocBuilder.
> buildDocument(DocBuilder.java:561)
>         at
> org.apache.solr.handler.dataimport.DocBuilder.
> buildDocument(DocBuilder.java:414)
>         ... 36 more
> Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
>         at
> org.apache.solr.handler.dataimport.VariableResolver.
> resolve(VariableResolver.java:110)
>         at
> org.apache.solr.handler.dataimport.ContextImpl.
> resolve(ContextImpl.java:250)
>         at org.apache.solr.handler.dataimport.Zipper.onNewParent(
> Zipper.java:106)
>         at
> org.apache.solr.handler.dataimport.EntityProcessorBase.init(
> EntityProcessorBase.java:63)
>         at
> org.apache.solr.handler.dataimport.SqlEntityProcessor.
> init(SqlEntityProcessor.java:52)
>         at
> org.apache.solr.handler.dataimport.EntityProcessorWrapper.init(
> EntityProcessorWrapper.java:75)
>         at
> org.apache.solr.handler.dataimport.DocBuilder.
> buildDocument(DocBuilder.java:433)
>         at
> org.apache.solr.handler.dataimport.DocBuilder.
> buildDocument(DocBuilder.java:516)
>         ... 37 more
>
> Thanks,
> --Ankur
>
>
>
> --
> View this message in context: http://lucene.472066.n3.
> nabble.com/Getting-error-while-excuting-full-import-tp4329153p4330498.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
Sincerely yours
Mikhail Khludnev

Reply via email to