[prev in list] [next in list] [prev in thread] [next in thread] 

List:       solr-user
Subject:    XPathEntityProcessor
From:       Scott Derrick <scott () tnstaafl ! net>
Date:       2021-10-25 20:30:01
Message-ID: 5e05f3c1-2797-71d6-72ca-bbed0f8893ea () tnstaafl ! net
[Download RAW message or body]

Trying to figure out why the xpath processor is only processing on entity when there are multiple entities.

I have the following in my config file

        <entity name="places"
           dataSource="myfilereader"
           processor="XPathEntityProcessor"
           url="${jcurrent.fileAbsolutePath}"
           stream="false"
           forEach="/TEI/text/body"
           xsl="xslt/doc.xsl"
           >
           <field column="places" xpath="/TEI/text/body//placeName" flatten="true"/>
        </entity>

There are multiple entities at the xpath="/TEI/text/body//placeName"

but only the last is stored and searchable?

thanks,

Scott

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic