Re: questions about transformers

2009-03-29 Thread Noble Paul നോബിള്‍ नोब्ळ्
A transformer is the best bet. See here for more details http://wiki.apache.org/solr/DIHCustomTransformer A custom Transformer can get hold of a DataSource using Context#getDataSource() and run a query. dataSource.getData() would return an Iterator> , here each map is a row of data . In the Map,

questions about transformers

2009-03-29 Thread antonio_eggberg
Hi: Not sure how to solve this... I have a XML source and 1 table in a db. A specific filed in the XML source has the following and in the table I have, id, name, group (group multivalued in solr term) What I like to do is every time i find name = "John Doe" in the XML source, I like to a