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='${propertiesList.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.

Reply via email to