Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-3779

LineEntityProcessor processes only one document

    Details

      Description

      LineEntityProcessor processes only one document when combined with FileListEntityProcessor.

      <dataConfig>
      <dataSource type="FileDataSource" encoding="UTF-8" name="fds"/>
          <document>
             <entity name="f" processor="FileListEntityProcessor" fileName=".*txt" baseDir="/Volumes/data/Documents" recursive="false" rootEntity="false" dataSource="null" transformer="TemplateTransformer" >
                   <entity onError="skip" name="jc"   processor="LineEntityProcessor" url="${f.fileAbsolutePath}" dataSource="fds"  rootEntity="true" transformer="TemplateTransformer">
                	  <field column="link" template="hello${f.fileAbsolutePath},${jc.rawLine}" />
                	  <field column="rawLine" name="rawLine" />
                   </entity>          	  
              </entity>
          </document>
      </dataConfig>
      

        Attachments

        1. SOLR-3779.patch
          5 kB
          James Dyer
        2. SOLR-3779.patch
          1.0 kB
          Ahmet Arslan

          Activity

            People

            • Assignee:
              jdyer James Dyer
              Reporter:
              iorixxx Ahmet Arslan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: