On Tue, Aug 25, 2009 at 5:26 AM, darniz <rnizamud...@edmunds.com> wrote:
> > Continuing on this i am having a use case where i have to strip out single > quote for certain fields for example for testing i added teh following > fieldType in schema.xml file > > <fieldType name="removeComma" class="solr.TextField"> > <analyzer> > <tokenizer class="solr.LetterTokenizerFactory" /> > </analyzer> > </fieldType> > and then i declared a field like this. > <field name="nocomma" type="removeComma" indexed="true" stored="true" > required="false"/> > > So i am assuming if i index a document with a field like > > <field name="nocomma">this can't be the case</field> > i am expecting this should be index as "this can t be the case" > > But that doesn't seem to happen > So what seems to happen? You may also want to look at PatternReplaceFilter. -- Regards, Shalin Shekhar Mangar.