Hallo,
ich habe hier folgende Konstellation:
Typo 7.6.32
Apache Solr 6.6.3
Solr (EXT:solr) 6.5.1
solrfal 4.1.2
Tika 2.3.0
Eingerichtet wurde es nicht von mir. Nun besteht das Problem, dass mit solrfal statt nur bestimmte Dokumente (pdf, doc,...) einfach alle (jpg, txt, css,...) indexiert und über die Suche angezeigt werden, sobald ich bspw. nach jpg o.ä. suche.
Die Dokumentenarten wurden im TypoScript definiert. (siehe unten)
Was könnte ich nun machen, dass nur die Dokumente indexiert und angezeigt werden die auch dafür gedacht sind?
Danke schonmal für eure Antworten
Auszug aus Template Home Setup:
plugin.tx_solr.enableDebugMode = 0
plugin.tx_solr.logging.debugOutput = 0
plugin.tx_solr.logging.indexing.queue.news = 1
#plugin.tx_solr.index.queue.news.additionalPageIds = 35,48
plugin.tx_solr.search.query.queryFields := addToList(descriptionS\^1.0)
plugin.tx_solr.search.query.queryFields := addToList(keywordsS\^1.0)
plugin.tx_solr.search.results.showDocumentScoreAnalysis = 0
plugin.tx_solr.search.lastSearches = 0
plugin.tx_solr.search.frequentSearches = 0
plugin.tx_solr.viewHelpers.crop.maxLength = 20
plugin.tx_solr.search.results.resultsHighlighting = 1
plugin.tx_solr.index.queue {
news = 1
news {
table = tx_news_domain_model_news
fields {
abstract = teaser
author = author
authorEmail_stringS = author_email
title = title
content = SOLR_CONTENT
content {
cObject = COA
cObject {
10 = TEXT
10 {
field = bodytext
noTrimWrap = || |
}
}
}
category_stringM = SOLR_RELATION
category_stringM {
localField = categories
multiValue = 1
}
keywords = SOLR_MULTIVALUE
keywords {
field = keywords
}
tags_stringM = SOLR_RELATION
tags_stringM {
localField = tags
multiValue = 1
}
url = TEXT
url {
typolink.parameter = {$plugin.tx_news.settings.detailPid}
typolink.additionalParams = &tx_news_pi1[controller]=News&tx_news_pi1[action]=detail&tx_news_pi1[news]={field:uid}
typolink.additionalParams.insertData = 1
typolink.useCacheHash = 0
typolink.returnLast = url
}
}
attachments = 1
attachments {
fields = fal_related_files
fileExtensions = *
}
}
}
plugin.tx_solr.logging.indexing.queue.news = 1
plugin.tx_solr.index.enableFileIndexing = 1
plugin.tx_solr.index.queue.news.attachments.fileExtensions = pdf,xls,xlsx,doc,docx
plugin.tx_solr.index.enableFileIndexing.pageContext.fileExtensions = pdf,xls,xlsx,doc,docx
plugin.tx_solr.index.enableFileIndexing.storageContext.1.fileExtensions = pdf,xls,xlsx,doc,docx
plugin.tx_solr.index.enableFileIndexing.recordContext.fileExtensions = pdf,xls,xlsx,doc,docx
plugin.tx_solr.index.enableFileIndexing.storageContext.__storageUid__.fileExtensions = pdf,xls,xlsx,doc,docx
plugin.tx_solr.index.enableFileIndexing.pageContext.contentElementTypes = pdf,xls,xlsx,doc,docx