lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From darniz <rnizamud...@edmunds.com>
Subject Re: defining qf in your own request handler
Date Mon, 24 Aug 2009 23:56:00 GMT

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

Any quick input on this

Thanks

-- 
View this message in context: http://www.nabble.com/defining-qf-in-your-own-request-handler-tp25119913p25123890.html
Sent from the Solr - User mailing list archive at Nabble.com.


Mime
View raw message