Re: DIH for e-mails

2011-05-06 Thread Erick Erickson
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

DIH for e-mails

2011-05-05 Thread m _ 米蟲ы~
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

DIH for e-mails

2011-05-05 Thread m _ 米蟲ы~
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

DIH for e-mails

2011-05-05 Thread 方振鹏
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, Jame Bond Fang

Re: DIH for e-mails

2011-05-05 Thread Peter Sturge
The best way to add your own fields is to create a custom Transformer sub-class. See: http://www.lucidimagination.com/search/out?u=http%3A%2F%2Fwiki.apache.org%2Fsolr%2FDataImportHandler This will guide you through the steps. Peter 2011/5/5 方振鹏 michong900...@xmu.edu.cn: I’m using Data