Actions
Bug #66170
closedSolr Search
Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2015-03-31
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
Hello,
I am using the Solr Search in the TYPO3 6.2.9.
I have follow the this step: https://www.mittwald.de/blog/hosting/solr-einrichtung-in-typo3
There is successful connection of the Apache Solr in the Report. Like: "Your site has contacted the Apache Solr server"
Search only in the Pages title name: I want to search in the content, News and Files(doc and Pdf) Also.
- TypoScript Setup:
# tx_solr configuration
plugin.tx_solr {
solr.host = username:password@host
solr.path = /core_path/
solr.port = 80
suggest = 1
search {
results {
resultsHighlighting = 1
#siteHighlighting = 1
#showDocumentScoreAnalysis = 1
}
spellchecking = 1
lastSearches = 1
frequentSearches = 1
sorting = 1
sorting.options.relevance.label.lang.de = Relevanz
sorting.options.title.label.lang.de = Titel
sorting.options.type.label.lang.de = Typ
sorting.options.author.label.lang.de = Autor
sorting.options.created.label.lang.de = Erstellungsdatum
- javascriptFiles.ui >
- javascriptFiles.ui = {$paths.public}/Js/jquery-ui/jquery-ui-1.10.3.custom.min.js
}
faceting = 1
faceting.facets {
type {
label.lang.de = Inhaltstyp
renderingInstruction = CASE
renderingInstruction {
key.field = optionValue
# pages
pages = TEXT
pages.value = Pages
pages.lang.de = Seiten
# tx_news
tx_news_domain_model_news = TEXT
tx_news_domain_model_news.value = News
tx_news_domain_model_news.lang.de = News
}
}
}
}
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 {
field = bodytext
}
content = SOLR_CONTENT
content {
cObject = COA
cObject {
10 = TEXT
10 {
field = bodytext
noTrimWrap = || |
}
20 = SOLR_RELATION
20 {
localField = content_elements
foreignLabelField = bodytext
singleValueGlue = | |
}
}
}
category_stringM = SOLR_RELATION
category_stringM {
localField = categories
multiValue = 1
}
tags_stringM = SOLR_RELATION
tags_stringM {
localField = tags
multiValue = 1
}
keywords = SOLR_MULTIVALUE
keywords {
field = keywords
}
url = TEXT
url {
# PID of News detail view
typolink.parameter = 116
typolink.additionalParams = &tx_news_pi1[controller]=News&tx_news_pi1[action]=detail&tx_news_pi1[news]={field:uid}
typolink.additionalParams.insertData = 1
typolink.useCacheHash = 1
typolink.returnLast = url
}
}
attachments {
fields = related_files
}
}
my_content = 1
my_content {
table = pages
fields {
title = title
content = CONTENT
content {
table = tt_content
select {
selectFields = header, bodytext
}
renderObj = COA
renderObj {
10 = TEXT
10.field = header
# This removes HTML tags
11 = SOLR_CONTENT
11.field = bodytext
}
}
url = TEXT
url.typolink.parameter = TEXT
url.typolink.parameter.field = uid
}
}
}
#logging.indexing = 1
logging.indexing.queue.news = 1
- disable jQuery because its global present
javascriptFiles.library > - Remove jQuery UI 1.8.21 and include 1.10.3 custom
I want to search in the content, News and Files(doc and Pdf) Also.
Is there any way to search. I dont know what I am missing.
I am new in the solr, so I Dont have much idea about the Solr Search.
Is there any way to solve this Problem.
Actions