SOLR-1241: Solr's CharFilter has been moved to Lucene. Remove CharFilter and related classes from Solr and use Lucene's corresponding code:

-        <tokenizer class="solr.CharStreamAwareWhitespaceTokenizerFactory"/>
+        <tokenizer class="solr.WhitespaceTokenizerFactory"/>

SOLR-1026: Add protected words support to SnowballPorterFilterFactory. Deprecated EnglishPorterFilterFactory and switched example to use English SnowballPorterFilterFactory instead:

-        <filter class="solr.EnglishPorterFilterFactory" protected="protwords.txt"/>
+        <filter class="solr.SnowballPorterFilterFactory" language="English" protected="protwords.txt"/>
CommentFileSizeAuthor
#2 schema.xml_.patch2.85 KBrobertdouglass

Comments

Scott Reynolds’s picture

Marked #529516: Receiving exception with schema.xml and latest nightly as Dup. I didn't know about the EnglishPorterFilterFactory.

robertdouglass’s picture

Status: Active » Needs review
StatusFileSize
new2.85 KB

Here's the patched schema.xml file. Testing now.

damien tournoud’s picture

That's basically what we are using on d.o right now.

robertdouglass’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev

This hasn't seemed to cause any problems and solves the obvious mismatch with solr nightly, so I'm committing to 6.2 for further testing. I'll commit to 6.1 as well in a week or so if no negative feedback ensues.

robertdouglass’s picture

Version: 6.x-2.x-dev » 6.x-1.x-dev
Status: Needs review » Patch (to be ported)
pwolanin’s picture

Status: Patch (to be ported) » Fixed

committed to 6.x-1.x

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.