Re: [DIH] Multiple repeat XPath stmts

2012-06-13 Thread alesp
TNX. A lifesaver... -- View this message in context: http://lucene.472066.n3.nabble.com/DIH-Multiple-repeat-XPath-stmts-tp499770p3989439.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: [DIH] Multiple repeat XPath stmts

2009-09-14 Thread Grant Ingersoll
As I said, copying is not an option. That will break everything else. On Sep 14, 2009, at 1:07 AM, Noble Paul നോബിള്‍ नोब्ळ् wrote: The XPathRecordreader has a limit one mapping per xpath. So copying is the best solution On Mon, Sep 14, 2009 at 2:54 AM, Fergus McMenemie

Re: [DIH] Multiple repeat XPath stmts

2009-09-14 Thread Noble Paul നോബിള്‍ नोब्ळ्
if you wish to use conditional copy you can use a RegexTransformer field column=guid xpath=/rss/channel/guid/ field column=id regex=.* sourceColName=guid replaceWith=${entityname.guid}/ this means that if guid!= null 'id' will be set to guid On Mon, Sep 14, 2009 at 4:16 PM, Grant Ingersoll

[DIH] Multiple repeat XPath stmts

2009-09-13 Thread Grant Ingersoll
I'm trying to import several RSS feeds using DIH and running into a bit of a problem. Some feeds define a GUID value that I map to my Solr ID, while others don't. I also have a link field which I fill in with the RSS link field. For the feeds that don't have the GUID value set, I want

Re: [DIH] Multiple repeat XPath stmts

2009-09-13 Thread Fergus McMenemie
I'm trying to import several RSS feeds using DIH and running into a bit of a problem. Some feeds define a GUID value that I map to my Solr ID, while others don't. I also have a link field which I fill in with the RSS link field. For the feeds that don't have the GUID value set, I want

Re: [DIH] Multiple repeat XPath stmts

2009-09-13 Thread Noble Paul നോബിള്‍ नोब्ळ्
The XPathRecordreader has a limit one mapping per xpath. So copying is the best solution On Mon, Sep 14, 2009 at 2:54 AM, Fergus McMenemie fer...@twig.me.uk wrote: I'm trying to import several RSS feeds using DIH and running into a bit of a problem.  Some feeds define a GUID value that I map to