> Unfortunately, the underscore is
> being quite resilient =(
> 
> I tried the solr.MappingCharFilterFactory and know the
> mapping is working as
> I am changing "c" => "q" just fine. But the underscore
> refuses to go!
> 
> I am baffled . . .

I just activated name="textCharNorm" in example schema.xml and added 
"_" => "xxx" to mapping-ISOLatin1Accent.txt
I verified from http://localhost:8983/solr/admin/analysis.jsp that replacement 
is done without problems. Can you also test analysis.jsp?

May be your documents has underscores having different Unicode values. I know 
three different Unicode valued characters that all look like "-"
If thats the case you need to find their Unicode values and write them into 
mappings.txt.



      

Reply via email to