RE: Extract info from parent node during data import

2009-09-10 Thread venn hardy
rent 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 a

RE: Extract info from parent node during data import

2009-09-10 Thread venn hardy
add two xpaths in your forEach > > forEach="/document/category/item | /document/category/name" > > and add a field as follows > > commonField="true"/> > > Please try it out and let me know. > > On Thu, Sep 10, 2009 at 7:30 AM, venn ha

Extract info from parent node during data import

2009-09-09 Thread venn hardy
Hello, I am using SOLR 1.4 (from nighly build) and its URLDataSource in conjunction with the XPathEntityProcessor. I have successfully imported XML content, but I think I may have found a limitation when it comes to the commonField attribute in the DataImportHandler. Before writing my

RE: Problems importing HTML content contained within XML document

2009-08-20 Thread venn hardy
org > > try this > > > this should slurp al the tags under body > > On Wed, Aug 19, 2009 at 1:44 PM, venn hardy wrote: > > > > Hello, > > > > I have just started trying out SOLR to index some XML documents that I > > receive. I am > &

Problems importing HTML content contained within XML document

2009-08-19 Thread venn hardy
Hello, I have just started trying out SOLR to index some XML documents that I receive. I am using the SOLR 1.3 and its HttpDataSource in conjunction with the XPathEntityProcessor. I am finding the data import really useful so far, but I am having a few problems when I try and import HTML c