[TYPO3-Solr] Custom sorting fields - how to ignore quotes etc?

Ingo Renner ingo at typo3.org
Thu Apr 19 11:10:53 CEST 2012


Am 18.04.12 19:34, schrieb Jochen Rieger:

Hi Jochen,

> is there a typoscript option for custom sorting fields that would ignore
> quotes like " and '.

Unfortunately not, but how about simply not indexing them / stripping 
them out when indexing?

> In one of our indexes we have a custom title sorting field. And titles
> starting with " will be in the first place after sorting the result.

Well, I guess there's nothing you can do about it if that's the sorting 
order.

> Furthermore we have problems with German umlauts in sorting - but that
> might be, because we use the english core schema.xml with German content?!

Likely, please use the german schema for german text.


> At the moment this website is still using 2.0.0-dev. We could upgrade to
> 2.6.0 (early access) if necessary as we already have this one running on
> a test server with the same website. But if there is a quick setup for
> 2.0.0-dev we would prefer sticking with it for now.

Please switch to a stable release version if possible.


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