Hi Folks,


We want to ensure that results sorted by title ignore punctuation. Thus, for example, "Race," class, and gender in exclusion from school would appear with the “Rs” rather than at the top of the results list.


Would the best method be to replicate the text fieldtype as “textNoPunc” adding <filter class="solr.PatternReplaceFilterFactory" pattern="(?&lt;!\b[A-Z])[.\s]*$" replacement="" replace="first"/>, create a new index field and then use that for sorting?




Luke O'Sullivan
Library Systems Officer - Virtual Academic Library
South West Wales Higher Education Partnership (SWWHEP)
Tel: 01792 602772
Website: www.swwhep.ac.uk

Ffn: 01792 602772
Gwefan: www.swwhep.ac.uk

Check out the new SWWHEP Online GreenGuide at: