Created
April 24, 2015 11:37
-
-
Save dmitryd/0e115f0d492d4a640be2 to your computer and use it in GitHub Desktop.
TYPO3 Solr: indexing configuration for EXT:news
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugin.tx_solr { | |
index { | |
queue { | |
tx_news_domain_model_news = 1 | |
tx_news_domain_model_news { | |
tableName = tx_news_domain_model_news | |
additionalWhereClause = tx_news_domain_model_news.type=0 | |
fields { | |
title = title | |
description = TEXT | |
description { | |
field = description // teaser | |
} | |
content = TEXT | |
content { | |
field = bodytext | |
stripHtml = 1 | |
} | |
url = TEXT | |
url { | |
typolink { | |
additionalParams.dataWrap = &tx_news_pi1[news]={field:uid}&tx_news_pi1[controller]=News&tx_news_pi1[action]=detail | |
parameter = {$newsDetailPid} | |
returnLast = url | |
useCacheHash = 1 | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment