[TYPO3-Solr] Keywords get cut off in search results

Florian Rachor f.rachor at websafari.eu
Thu Aug 23 11:27:49 CEST 2012


Hi Ingo,

thanks for your fast reply, I think I know now what the problem is. I added a field to irfaq and added it to the index like in the tt_news example:
            keywords = SOLR_MULTIVALUE
            keywords {
                field = tx_faqext_keywords
            }
The Keywords are separated by spaces, maybe that's not such a good idea. I will try and change this to the standard example from the wiki:
keywords = SOLR_MULTIVALUE
keywords {
    field = tx_faqext_keywords
    separator = ,
    removeEmptyValues = 1
}
Best regards

Florian


Am 23.08.2012 um 10:11 schrieb Ingo Renner:

> Am 23.08.12 10:02, schrieb Florian Rachor:
> 
> Hi Florian,
> 
>> I have a small problem with faceting, the options get cut off. For this installation I configured a facet called keywords. Now, when the keyword is i.e "lohnverrechnung" it will be displayed as "47 lohnverrechn" in the facets. Also the length is not constant, another example is "abrechnung" witch get shortened to "16 abrechn".
>> 
>> Interesting enough, the keywords are saved correctly into Solr, I checked this via the Solr web admin. The problem must happen during rendering or the request. Any ideas what could cause this?
> 
> What field are you using?
> 
> Make sure to not use a text type field, but a string type field for facets. Text type fields have stemming applied which leads to those results, string type fields do not.
> 
> 
> Best,
> Ingo
> 
> 
> -- 
> Ingo Renner
> TYPO3 Core Developer, Release Manager TYPO3 4.2, Admin Google Summer of Code
> 
> TYPO3 - Open Source Enterprise Content Management System
> http://typo3.org
> 
> Apache Solr for TYPO3 -
> Open Source Enterprise Search meets Open Source Enterprise CMS
> http://www.typo3-solr.com
> _______________________________________________
> TYPO3-project-solr mailing list
> TYPO3-project-solr at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-solr

Viele Grüße

Florian Rachor

---------
Dipl.-Kfm. Florian Rachor
websafari GmbH & Co KG
www.websafari.eu

Kardinalplatz 1
A-9020 Klagenfurt
f.rachor at websafari.eu
M:  +43 (0) 699 19 05 65 47
T:  +43 (0) 463 99 29 63



More information about the TYPO3-project-solr mailing list