Hello,

Shouldn't it just be where="PROPERTY_ID=PROPERTY_ID'"  since fields are
named the same in both tables.

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

> Hi Mikhail,
>
> I tried with a simplest zipper entity. Here are the config details-
>
> <document name="sampleProperties">
>         <entity name="propertiesList" processor="SqlEntityProcessor"
> query="SELECT
> PROPERTY_ID FROM property order by PROPERTY_ID">
>
>                 <field column="PROPERTY_ID" name="propertyId" />
>
>                 <entity name="description" processor="SqlEntityProcessor"
> where="PROPERTY_ID=PROPERTY_ID'" query="SELECT * FROM
> property_text ORDER BY PROPERTY_ID"
>                 join="zipper">
>                                 <field column="TEXT" name="freeText" />
>                         </entity>
>         </entity>
> </document>
>
> Here child entity have multiple records for a given property id. Hence I
> believe full import is failing. I have added new logs below. Is there a way
> Zipper supports multiple records merge?
>
> aused by: java.lang.IllegalArgumentException: expect strictly increasing
> primary keys for Relation PROPERTY_ID='${propertiesList.PROPERTY_ID}'
> got: ,
>         at org.apache.solr.handler.dataimport.Zipper.onNewParent(
> Zipper.java:108)
>
>
>
> --
> View this message in context: http://lucene.472066.n3.
> nabble.com/Getting-error-while-excuting-full-import-tp4329153p4330488.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
Sincerely yours
Mikhail Khludnev

Reply via email to