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 fr
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 方振鹏 :
>
>
>
> I’m using Data Import Handler for index
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
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
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