You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2010/12/01 16:34:02 UTC

[Solr Wiki] Update of "AnalyzersTokenizersTokenFilters" by XiaodanZhang

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "AnalyzersTokenizersTokenFilters" page has been changed by XiaodanZhang.
The comment on this change is: <tokenizer class="solr.PatternTokenizerFactory" pattern="; *" /> this is misleading since pattern is a regular expression, the replaced one has the option showing users more than one delimiter..
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters?action=diff&rev1=94&rev2=95

--------------------------------------------------

  {{{
     <fieldType name="semicolonDelimited" class="solr.TextField">
        <analyzer>
-         <tokenizer class="solr.PatternTokenizerFactory" pattern="; *" />
+         <tokenizer class="solr.PatternTokenizerFactory" pattern="[;,\s]" />
        </analyzer>
     </fieldType>
  }}}