lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Stripping Punctuation in a fieldType
Date Fri, 15 Jan 2010 17:39:47 GMT
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 <dseltzer@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


Mime
View raw message