Hello All,

I'm trying to find the best way to set up a fieldType that strips
punctuation. I think the right way to do this is using a CharacterFilter
of some type, but I can't seem to find any examples of how to set this
up in a schema.xml file. 

Can anyone point me in the right direction?

Right now my fieldType looks like this:

<fieldType name="text_ws_lc" class="solr.TextField"
positionIncrementGap="100">
   <analyzer>
      <tokenizer class="solr.WhitespaceTokenizerFactory"/>
      <filter class="solr.LowerCaseFilterFactory"/>
   </analyzer>
</fieldType>

Thanks!

-Dave Seltzer


Reply via email to