Take a look at Transformers, perhaps a custom Transformer. They're surprisingly easy to add. Essentially, if you write your own it gets a map representing the Solr document. That map contains all of the modifications to the document made by any other Transformers previously defined, and you can freely add/remove fields in the map. DIH will then pass the entire result off toSolr to be indexed.
Best Erick 2011/5/5 m _ 米蟲ы~ <fangzhenp...@foxmail.com>: > I’m using Data Import Handler for index emails. > > > The problem is that I wanna add my own field such as security_number. > > > Someone have any idea? > > > Regards, > > > ------------------ > > James Bond Fang