You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2011/01/12 01:41:13 UTC

[Solr Wiki] Update of "DataImportHandler" by MattParker

Dear Wiki user,

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

The "DataImportHandler" page has been changed by MattParker.
The comment on this change is: Modified the implicit fields generated by FileListEntityProcessor. Added fileDir. fileName is currently not being populated. The file's name is mapped to the field named 'file'. Bug report submitted..
http://wiki.apache.org/solr/DataImportHandler?action=diff&rev1=277&rev2=278

--------------------------------------------------

      </document>
  </dataConfig>
  }}}
- Do not miss the `rootEntity` attribute. The implicit fields generated by the !FileListEntityProcessor are `fileAbsolutePath, fileSize, fileLastModified, fileName` and these are available for use within the entity X as shown above. It should be noted that !FileListEntityProcessor returns a list of pathnames and that the subsequent entity must use the !FileDataSource to fetch the files content.
+ Do not miss the `rootEntity` attribute. The implicit fields generated by the !FileListEntityProcessor are `fileDir, fileAbsolutePath, fileSize, fileLastModified, fileName` and these are available for use within the entity X as shown above. It should be noted that !FileListEntityProcessor returns a list of pathnames and that the subsequent entity must use the !FileDataSource to fetch the files content.
  
  === CachedSqlEntityProcessor ===
  <<Anchor(cached)>>