[TYPO3-Solr] Excerpt field
Ingo Renner
ingo at typo3.org
Thu Mar 22 15:53:26 CET 2012
Am 22.03.12 15:05, schrieb Dmitry Dulepov:
Hey Dmitry,
> That's my problem. How do I show the altered text as the excerpt? I am
> sure there is a TS setting or something but I cannot find it :(
simply index the altered text as a dynamic field using the Index Queue.
plugin.tx_solr.index.queue {
myDataType {
fields {
alteredText_textS = TEXT
alteredText_textS.value = ...
}
}
}
Then in your template you can use ###RESULT_DOCUMENT.alteredText_textS###
HTH
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