lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Custom E-mail Tokenizer
Date Wed, 21 Jun 2006 18:58:59 GMT

:     <fieldtype name="email" class="solr.StrField">
:         <analyzer type="index">
:             <tokenizer
: class="com.willetts.wmail.analysis.EmailTokenizerFactory"/>
:             <filter class="solr.LowerCaseFilterFactory"/>
:         </analyzer>
:     </fieldtype>

Try changing the fieldtype class to solr.TextField ... i've never seen
anyone try to use an analyzer with StrField (if you'd asked me before you
tried it, i would have guess the schema file wouldn't have even loaded
properly)


-Hoss


Mime
View raw message