Your own updateRequestProcessorChain called with "update.chain" from requestHandler of dataimport.
Regards Bernd Am 13.09.2012 15:48, schrieb meghana: > > Alexandre Rafalovitch wrote >> >> copyField? >> >> Regards, >> Alex. >> Personal blog: http://blog.outerthoughts.com/ >> LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch >> - Time is the quality of nature that keeps events from happening all >> at once. Lately, it doesn't seem to be working. (Anonymous - via GTD >> book) >> >> >> On Thu, Sep 13, 2012 at 9:40 AM, meghana <meghana.ravani@> wrote: >>> Hi, >>> >>> I have one date field in my data source as of format below >>> >>> 'Apr 10 2012 10:30AM' >>> >>> Now i wanted to add this field 2 times in my solr index, one with exact >>> value as of above and one with 'tdate' format of solr schema. >>> >>> I used XPathEntityProcessor for my dataimport xml , and i add this date >>> field in my dataimport handler as mentioned below >>> >>> <entity name="NewsXML" onError="continue" rootEntity="true" >>> transformer="DateFormatTransformer" processor="XPathEntityProcessor" >>> forEach="/content/article/" url="${FilePath.FileLocation}" >>> dataSource="FD"> >>> <field column="article_time_DT" >>> xpath="/content/article/article_time" dateTimeFormat="MMM dd yyyy >>> hh:mmaaa" >>> /> >>> <field column="article_time" >>> xpath="/content/article/article_time" >>> /> >>> </entity> >>> >>> but by doing this way , only last mentioned filed (in this case >>> 'article_time') get inserted in solr index , but no data inserted for >>> article_time_DT field. >>> >>> Can any body please suggest me , how can i achieve my requirement. >>> >>> >>> >>> >>> >>> -- >>> View this message in context: >>> http://lucene.472066.n3.nabble.com/Solr-Add-Single-node-from-XPathEntityProcessor-in-multiple-fields-tp4007456.html >>> Sent from the Solr - User mailing list archive at Nabble.com. >> > > Alexandre Rafalovitch wrote >> >> copyField? >> >> Regards, >> Alex. >> Personal blog: http://blog.outerthoughts.com/ >> LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch >> - Time is the quality of nature that keeps events from happening all >> at once. Lately, it doesn't seem to be working. (Anonymous - via GTD >> book) >> >> >> On Thu, Sep 13, 2012 at 9:40 AM, meghana <meghana.ravani@> wrote: >>> Hi, >>> >>> I have one date field in my data source as of format below >>> >>> 'Apr 10 2012 10:30AM' >>> >>> Now i wanted to add this field 2 times in my solr index, one with exact >>> value as of above and one with 'tdate' format of solr schema. >>> >>> I used XPathEntityProcessor for my dataimport xml , and i add this date >>> field in my dataimport handler as mentioned below >>> >>> <entity name="NewsXML" onError="continue" rootEntity="true" >>> transformer="DateFormatTransformer" processor="XPathEntityProcessor" >>> forEach="/content/article/" url="${FilePath.FileLocation}" >>> dataSource="FD"> >>> <field column="article_time_DT" >>> xpath="/content/article/article_time" dateTimeFormat="MMM dd yyyy >>> hh:mmaaa" >>> /> >>> <field column="article_time" >>> xpath="/content/article/article_time" >>> /> >>> </entity> >>> >>> but by doing this way , only last mentioned filed (in this case >>> 'article_time') get inserted in solr index , but no data inserted for >>> article_time_DT field. >>> >>> Can any body please suggest me , how can i achieve my requirement. >>> >>> >>> >>> >>> >>> -- >>> View this message in context: >>> http://lucene.472066.n3.nabble.com/Solr-Add-Single-node-from-XPathEntityProcessor-in-multiple-fields-tp4007456.html >>> Sent from the Solr - User mailing list archive at Nabble.com. >> > > I have tried that... i inserted article_time_DT form dataimport handler and > made copy field for article_time, but the issue is the value i wanted in > these 2 fields are in different format. > > Is there any facility in copy field to have data in different format?? like > i mentoned in my question? > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-Add-Single-node-from-XPathEntityProcessor-in-multiple-fields-tp4007456p4007465.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- ************************************************************* Bernd Fehling Universitätsbibliothek Bielefeld Dipl.-Inform. (FH) LibTec - Bibliothekstechnologie Universitätsstr. 25 und Wissensmanagement 33615 Bielefeld Tel. +49 521 106-4060 bernd.fehling(at)uni-bielefeld.de BASE - Bielefeld Academic Search Engine - www.base-search.net *************************************************************