What version of Solr are you using? You can think about PatternReplaceCharFilterFactory if you're using the right version of Solr.
But.... you have other problems than that. Let's claim you get the periods removed. Do you tokenize three tokens or one? I.e. jrr or j r r? In the latter case your search still won't match. Best Erick On Mon, Nov 22, 2010 at 7:45 AM, Solr User <solr...@gmail.com> wrote: > Hi, > > I am searching for j.r.r. tolkien and getting results back but if I search > for jrr I am not getting any results. Also not getting any results if I am > searching for jrr tolkien. I am using AND as the default operator. > > The search results should work for both j.r.r. tolkien and jrr tolkien. > > What configuration changes I need to make so that special characters like > hypen (-), period (.) are ignored while indexing? or any other suggestions? > > Thanks, > Solr User >