Thanks for the feedback. The templateTransformer is pretty straightforward solution. Perfect.
Wesley. > > On 4/1/09 12:14 AM, "Noble Paul നോബിള് नोब्ळ्" <noble.p...@gmail.com> wrote: > >> use TemplateTransformer >> <field column="content_type_s" template="Video" /> >> >> >> >> On Tue, Mar 31, 2009 at 9:20 PM, Wesley Small <wesley.sm...@mtvstaff.com> >> wrote: >>> I am trying to find a clean way to *hardcode* a field/column to a specific >>> value during the DIH process. It does seems to be possible but I am getting >>> an slightly invalid constant value in my index. >>> >>> <field column="content_type_s" sourceColName="title_t" regex="(.*)" >>> replaceWith="Video" /> >>> >>> However, the value in the index was set to "VideoVideo" for all documents. >>> >>> Any idea why this DIH instruction would see constant value appear twice?? >>> >>> Thanks, >>> Wesley. >>> >>> >>> >> >> >> >> -- >> --Noble Paul >>