Hi David,
(this is the David I know, right?)

The simplest may be to use one of the existing TokenFilters that removes 
punctuation.  StandardFilterFactory should do it.

Otis
--
Sematext -- http://sematext.com/ -- Solr - Lucene - Nutch



----- Original Message ----
> From: David Seltzer <dselt...@tveyes.com>
> To: solr-user@lucene.apache.org
> Sent: Fri, January 15, 2010 12:31:41 PM
> Subject: Stripping Punctuation in a fieldType
> 
> 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:
> 
> 
> positionIncrementGap="100">
>   
>       
>       
>   
> 
> 
> Thanks!
> 
> -Dave Seltzer

Reply via email to