Re: Extract info from parent node during data import (redirect:)

2009-09-17 Thread Fergus McMenemie
JIRA SOLR-1437 created DIH: Enhance XPathRecordReader to deal with //tagname and other improvements. Fergus, Implementing wildcard (//tagname) is definitely possible. I would love to see it working. But if you wish to take a dig at it I shall do whatever I can to help. What is the use

Re: Extract info from parent node during data import (redirect:)

2009-09-16 Thread Paul, Noble
Fergus, Implementing wildcard (//tagname) is definitely possible. I would love to see it working. But if you wish to take a dig at it I shall do whatever I can to help. What is the use case that makes flow though so useful? We do not know to which forEach xpath a given field is associated

Re: Extract info from parent node during data import

2009-09-12 Thread Fergus McMenemie
returns lots of extra fields from the parent which did not have the commonField attribute. I will try and produce a testcase. Date: Thu, 10 Sep 2009 14:19:31 +0100 To: solr-user@lucene.apache.org From: fer...@twig.me.uk Subject: RE: Extract info from parent node during data import Hi Paul

Re: Extract info from parent node during data import

2009-09-12 Thread Noble Paul നോബിള്‍ नोब्ळ्
. It is by design . Date: Thu, 10 Sep 2009 14:19:31 +0100 To: solr-user@lucene.apache.org From: fer...@twig.me.uk Subject: RE: Extract info from parent node during data import Hi Paul, The forEach=/document/category/item | /document/category/name didn't work (no categoryname was stored

RE: Extract info from parent node during data import

2009-09-10 Thread venn hardy
. It wasn't as painful as I thought it would be. Venn From: noble.p...@corp.aol.com Date: Thu, 10 Sep 2009 09:58:21 +0530 Subject: Re: Extract info from parent node during data import To: solr-user@lucene.apache.org try this add two xpaths in your forEach forEach=/document/category/item

Re: Extract info from parent node during data import

2009-09-10 Thread Noble Paul നോബിള്‍ नोब्ळ्
: noble.p...@corp.aol.com Date: Thu, 10 Sep 2009 09:58:21 +0530 Subject: Re: Extract info from parent node during data import To: solr-user@lucene.apache.org try this add two xpaths in your forEach forEach=/document/category/item | /document/category/name and add a field as follows field

RE: Extract info from parent node during data import

2009-09-10 Thread Fergus McMenemie
Date: Thu, 10 Sep 2009 09:58:21 +0530 Subject: Re: Extract info from parent node during data import To: solr-user@lucene.apache.org try this add two xpaths in your forEach forEach=/document/category/item | /document/category/name and add a field as follows field column=catgoryname

RE: Extract info from parent node during data import

2009-09-10 Thread venn hardy
it will extract all of the item fields. 3. When all fields have been encountered, save the document in solr and go to the next category/item Date: Thu, 10 Sep 2009 14:19:31 +0100 To: solr-user@lucene.apache.org From: fer...@twig.me.uk Subject: RE: Extract info from parent node during data import

Re: Extract info from parent node during data import

2009-09-10 Thread Noble Paul നോബിള്‍ नोब्ळ्
opening of the same tag, it retains it Date: Thu, 10 Sep 2009 14:19:31 +0100 To: solr-user@lucene.apache.org From: fer...@twig.me.uk Subject: RE: Extract info from parent node during data import Hi Paul, The forEach=/document/category/item | /document/category/name didn't work

Re: Extract info from parent node during data import

2009-09-09 Thread Noble Paul നോബിള്‍ नोब्ळ्
try this add two xpaths in your forEach forEach=/document/category/item | /document/category/name and add a field as follows field column=catgoryname xpath =/document/category/name commonField=true/ Please try it out and let me know. On Thu, Sep 10, 2009 at 7:30 AM, venn hardy