> HI, > I want to map my solr-fields using the Customized > DataImport Handler > > For ex: > > I have a fields called > <field column="NAME" name="field1" > /> > <field column="NO" name="field2" /> > > Actually my column-names comes dynamically from another > table it varies from > client to client. > instead of giving the Mapped-Db-columns as 'NAME' i > want to configure this > dynamically using the Customized Import Handler. > > can i use My Own DataImportHandler To implement this.
Sounds like you can do what you want using Dynamic_fields combined with or without a custom transformer. http://wiki.apache.org/solr/SchemaXml#Dynamic_fields http://wiki.apache.org/solr/DIHCustomTransformer