Hi Team, I am using SOLR 5.4.1 in my application and we are using Data import handler for importing the data from RDBMS to solr.
While declaring the schema i.e <field name="organizationId" type="int" indexed="true" stored="true" required="true" multiValued="false" /> in schema.xml, application is encountering the below issue. * o.a.s.h.d.c.DIHConfiguration The field :organizationId present in DataConfig does not have a counterpart in Solr Schema.* DB-Data-config.xml My entity is defined like below. <dataConfig> <!--<propertyWriter dateFormat="yyyy-MM-dd HH:mm:ss" type="SimplePropertiesWriter" directory="data" filename="dataimport.properties" locale="en_US" />--> <dataSource driver="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:@//*********" user="************" password="**********" convertType="true" /> <document> <entity name="inventory" pk="INVENTORY_ITEM_ID" query="SELECT a.INVENTORY_ITEM_ID, a.ORGANIZATION_ID FROM GETS_INTF.<TABLE> a" deltaQuery="select a.INVENTORY_ITEM_ID from GETS_INTF.<TABLE> a where last_modified > '${dataimporter.last_index_time}'"> *<field column="INVENTORY_ITEM_ID" name="id" />* * <field column="ORGANIZATION_ID" name="organizationId" />* </entity> </document> </dataConfig> Can some body help, why user defined schema is not working . Thanks, Amit Kumar Jha