[TYPO3-Solr] Indexing files "attached" to a record
Ingo Renner
ingo at typo3.org
Mon Oct 22 12:49:29 CEST 2012
Am 18.10.12 12:16, schrieb Peter Beernink:
Hi Peter,
> Is there any documentation on how to configure such a detector or what
> to return on which call?
unfortunately, there is not. Here's a short version:
* register the AD in ext_localconf.php
* your AD extends tx_solr_fileindexer_attachmentdetector_Abstract
* your AD implements findFilesInField()
* findFilesInField() returns an array of files with path relative to the
TYPO3 site root
In your case it might be enough to extend (and maybe adjust)
tx_solr_fileindexer_attachmentdetector_Fileadmin
HTH, best,
Ingo
--
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2, Admin Google Summer of Code
TYPO3 - Open Source Enterprise Content Management System
http://typo3.org
Apache Solr for TYPO3 -
Open Source Enterprise Search meets Open Source Enterprise CMS
http://www.typo3-solr.com
More information about the TYPO3-project-solr
mailing list