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
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
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
. 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
. 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
: 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
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
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
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
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
10 matches
Mail list logo