[opencms-dev] Solr sorting issue

Thorsten Duhn duhn at regio-gmbh.de
Thu Feb 13 15:56:19 CET 2014


Hello,

> You could configure a new field in Solr's schema
> (/WEB-INF/solr/conf/schema.xml) that takes a copy of your title
> with a type that is appropriate for your sorting requirements.

thanks a lot for your response. Sounds great for the smaller problem 
(sorting case-insensitive and ignoring special characters), but is this 
a way to solve the problem of having some items sorted out of order 
(f.i. first) without modifying title? That was why I mentioned this idea 
of having another "sortname" field with some different content, and my 
problem of getting default value for this. Maybe it's just a stupid way 
and you know something better.

Regards,
Thorsten




More information about the opencms-dev mailing list