lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Aroush" <>
Subject schema.xml for CJK, German, French, etc.
Date Thu, 03 Jul 2008 01:16:55 GMT
Hi Folks,

Has anyone created schema.xml for languages other then English?  I like to
see a working example mainly for CJK, German and French.  If you have can
you share them?

TO get me started, I created the following for German:

  <fieldtype name="myfieldtype" class="solr.TextField">
      <tokenizer class="solr.WhitespaceTokenizerFactory"/>
      <filter class="solr.StopFilterFactory" ignoreCase="true"
      <filter class="solr.WordDelimiterFilterFactory" generateWordParts="0"
generateNumberParts="1" catenateWords="1" catenateNumbers="1"
      <filter class="solr.LowerCaseFilterFactory"/>
      <filter class="solr.SnowballPorterFilterFactory" language="German" />
      <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>

Will those filters work on German text?


-- George

View raw message