lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From themanwho <>
Subject Re: Sorting by article title
Date Wed, 05 Oct 2011 19:47:39 GMT
OK, I'm going to answer my own question -- it was probably so obvious that
nobody else wanted answer such an easy one!

I simply needed to apply

    <filter class="solr.PatternReplaceFilterFactory" 
        pattern="([^a-z])" replacement="" replace="all" />


    <filter class="solr.PatternReplaceFilterFactory" 
        pattern="^the\s" replacement="" replace="first" />
    <filter class="solr.PatternReplaceFilterFactory" 
        pattern="^a\s" replacement="" replace="first" />

instead of before, as I had it originally.  Otherwise "the\s" and "a\s" is
never matched!

Hope this maybe helps somebody else...

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message