[TYPO3-Solr] splitOnCaseChange in index on query
Ingo Renner
ingo at typo3.org
Tue Jul 31 11:57:31 CEST 2012
Am 27.07.12 19:01, schrieb Jigal van Hemert:
Hi Peter,
>> If the abbreviation is used as camelCase, without quotes, the results
>> will contain any page that contains any part of the search string (for
>> example an 'S'). It seems like the phrase is split and joined by 'or'.
>
> This is done both when indexing and when processing the query. See
> schema.xml in <analyzer type="index"> :
... what Jigal says...
Solution: Index your terms in another string type field that does not
have a word delimiter with splitOnCaseChange. Then add that field to
plugin.tx_solr.search.query.fields.
Also try to add those terms to protwords.txt in Solr, that at least
would prevent Solr to use stemming on the words listed in that file (one
per line).
:)
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
More information about the TYPO3-project-solr
mailing list