lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ankur.168" <>
Subject Re: Getting error while excuting full import
Date Tue, 18 Apr 2017 13:02:15 GMT
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"
				<field column="TEXT" name="freeText" />

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(

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message