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

LineEntityProcessor processes only one document

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    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

          Activity

            People

            • Assignee:
              jdyer James Dyer
              Reporter:
              iorixxx Ahmet Arslan

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment