Hello Ashish, as far as I know solr.StrField is not analized but it is indexed as is (verbatim).
Cheers, Giovanni On 3/23/09, Ashish P <ashish.ping...@gmail.com> wrote: > > > Hey it works. Can you please tell me the reason?? > Thanks, > Ashish > > Koji Sekiguchi-2 wrote: > > > > Ashish P wrote: > >> I have created a field, > >> <fieldtype name="conditionText" class="solr.StrField" > > >> <analyzer> > >> <tokenizer class="solr.PatternTokenizerFactory" pattern="_" > /> > >> </analyzer> > >> </fieldtype> > >> > >> > > Set class="solr.TextField" instead of class="solr.StrField" in your > > fieldType definition. > > Then reindex and commit. > > > > Koji > > > > > > > > -- > View this message in context: > http://www.nabble.com/Field-tokenizer-question-tp22594575p22653356.html > Sent from the Solr - User mailing list archive at Nabble.com. > >