Skip to content

Instantly share code, notes, and snippets.

@dmitryd
Created April 24, 2015 11:37
Show Gist options
  • Save dmitryd/0e115f0d492d4a640be2 to your computer and use it in GitHub Desktop.
Save dmitryd/0e115f0d492d4a640be2 to your computer and use it in GitHub Desktop.
TYPO3 Solr: indexing configuration for EXT:news
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