Re: DataImportHandler - composite multivalued fields for merging db rows?

2008-11-11 Thread Noble Paul നോബിള്‍ नोब्ळ्
Any component can use the VariableResolver . If you write a custom transformer that too can use it On Wed, Nov 12, 2008 at 4:40 AM, Mauricio Aristizabal <[EMAIL PROTECTED]> wrote: > Thanks Noble, that worked beautifully. > > What wasn't initially apparent to me was that a transformer can use the s

Re: DataImportHandler - composite multivalued fields for merging db rows?

2008-11-11 Thread Mauricio Aristizabal
Thanks Noble, that worked beautifully. What wasn't initially apparent to me was that a transformer can use the same notation as in the query attribute (e.g. ${parententityname.fieldname} ) to access fields from parent entities, which allows them to merge data from multiple related rows, not just d

Re: DataImportHandler - composite multivalued fields for merging db rows?

2008-11-10 Thread Noble Paul നോബിള്‍ नोब्ळ्
create a separate field commissionfixed_type and use a TemplateTransformer to merge two values in the entity 'tracker' On Tue, Nov 11, 2008 at 1:23 AM, Mauricio Aristizabal <[EMAIL PROTECTED]> wrote: > Hi, I'm setting up a Solr 1.3 server for our existing app, and have an issue > importing. > > We

DataImportHandler - composite multivalued fields for merging db rows?

2008-11-10 Thread Mauricio Aristizabal
Hi, I'm setting up a Solr 1.3 server for our existing app, and have an issue importing. We have a marketing system and want to make campaigns more searchable. Each campaign has a number of terms which specify either a fixed or percentage commission (2 separate fields). In addition each term poin