[TYPO3-Solr] Weird search result behaviour
Gion Koch
gionantoni.koch at gmail.com
Thu Jun 27 09:40:04 CEST 2013
Quote: Olivier Dobberkau (oli4) wrote on Thu, 27 June 2013 00:27
----------------------------------------------------
>
> please post your typoscript. looks like you are querying the wrong index
> an/or indexing wrongly.
>
> check the sitehash.
>
> have you turned on all logging. using devlog you can even see the query
> built and sent to the solr server.
>
> olivier
----------------------------------------------------
While I search with the SolrAdmin in specific cores, the correct results are shown, for the moment only pages, for each language with their correct links. The reports tab also connects to the correct core.
Some facts:
- 1 Domain
- 4 Languages
- 4 Solr Cores
- Typo3 4.7.4
- Solr 3.6.2
My TS, which gets included in ROOT-Template:
config.index_enable = 1
plugin.tx_solr.solr {
host = localhost
port = 8080
path = /solr-3.6.2/core_de
scheme = http
}
[globalVar = GP:L = 2]
plugin.tx_solr.solr.path = /solr-3.6.2/core_it/
[end]
[globalVar = GP:L = 3]
plugin.tx_solr.solr.path = /solr-3.6.2/core_fr/
[end]
[globalVar = GP:L = 4]
plugin.tx_solr.solr.path = /solr-3.6.2/core_en/
[end]
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
}
}
}
}
}
}
My Setup entries:
plugin.tx_solr.suggest = 1
plugin.tx_solr.index.enablePageIndexing = 1
plugin.tx_solr.index.enableFileIndexing = 1
plugin.tx_solr.search.results.resultsHighlighting = 1
plugin.tx_solr.search.sorting = 1
plugin.tx_solr.search.spellchecking = 1
The Sitehash, from the single result which gets displayed, has the same sitehash as the other entries while searching in the SolrAdmin.
In the devlog aren't any entries regarding solr, except those generated while setting up solr. Where can I turn on logging in devlog?
Gion
More information about the TYPO3-project-solr
mailing list