Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change 
notification.

The following page has been changed by JayHill:
http://wiki.apache.org/solr/DataImportHandler

The comment on the change is:
In FileListEntityProcessor example required attirb baseDir was missing.

------------------------------------------------------------------------------
  <dataConfig>
      <dataSource type="FileDataSource" />
      <document>
-         <entity name="f" processor="FileListEntityProcessor" fileName=".*xml" 
newerThan="'NOW-3DAYS'" recursive="true" rootEntity="false" dataSource="null" />
+         <entity name="f" processor="FileListEntityProcessor" 
baseDir="/some/path/to/files" fileName=".*xml" newerThan="'NOW-3DAYS'" 
recursive="true" rootEntity="false" dataSource="null" />
              <entity name="x" processor="XPathEntityProcessor" 
forEach="/the/record/xpath" url="${f.fileAbsolutePath}">
                  <field column="full_name" xpath="/field/xpath"/>
              </entity>

Reply via email to