Hallo Forum,
ich habe jetzt die solr-Suchmaschine installiert und teste gerade. Alles läuft super, habe aber nur ein Problem: Die Links zu der Detail-Seite der News in den Suchergebnissen sind falsch, sie enthalten weder die Id der NAchrichtendetail-Seite nach die Nachrichts-Id, sondern der generierte Link ist leer...
Ich benutze Typo3 4.5.35, also die mom. aktuelle Version, und Apache solr 3.0.0 frisch aus dem TER... Vielleicht liegt da der Hund begraben?
Die typolink-Konfiguration (s.u.) sieht eigentlich ganz gut aus (Kommt ja auch vom Autor der Extension).
Mir ist absolut schleierhaft, was los ist, zumal ich anscheinend der einzige bin, der dieses Problem hat. Jedenfalls finde ich nichts... Was kann das sein?
mfg
prosbaer
Dies ist das TS:
# Autovervollständigen aktivieren
plugin.tx_solr.suggest = 1
# Das Suchwort in den Ergebnissen hervorheben
plugin.tx_solr.search.results.resultsHighlighting = 1
# Sortierfunktion der Ergebnisse aktivieren
plugin.tx_solr.search.sorting = 1
# Meinten Sie aktivieren
plugin.tx_solr.search.spellchecking = 1
# Suchgruppierung aktivieren
plugin.tx_solr.search.faceting = 1
# tt_news indexierung aktivieren
plugin.tx_solr.index.queue.tt_news = 1
# Übersetzung der Gruppierung
plugin.tx_solr {
search {
faceting {
# Gruppierung entfernen Link Beschriftung
removeFacetLinkText = @facetText (entfernen)
facets {
type {
label = Filtertyp
renderingInstruction = CASE
renderingInstruction {
key.field = optionValue
pages = TEXT
pages.value = Pages
pages.lang.de = Seiten
tt_news = TEXT
tt_news.value = News
tt_news.lang.de = Nachrichten
}
}
}
}
}
}
plugin.tx_solr.index.queue {
// enables indexing of tt_news reocrds
tt_news = 1
tt_news {
fields {
abstract = short
author = author
description = short
title = title
// the special SOLR_CONTENT content object cleans HTML and RTE fields
content = SOLR_CONTENT
content {
field = bodytext
}
// the special SOLR_RELATION content object resolves relations
category_stringM = SOLR_RELATION
category_stringM {
localField = category
multiValue = 1
}
// the special SOLR_MULTIVALUE content object allows to index multivalue fields
keywords = SOLR_MULTIVALUE
keywords {
field = keywords
}
// build the URL through typolink, make sure to use returnLast = url
url = TEXT
url {
typolink.parameter = {$plugin.tt_news.singlePid}
typolink.additionalParams = &tx_ttnews[tt_news]={field:uid}&L={field:__solr_index_language}
typolink.additionalParams.insertData = 1
typolink.returnLast = url
typolink.useCacheHash = 1
}
sortAuthor_stringS = author
sortTitle_stringS = title
}
}
}