Changeset 32087


Ignore:
Timestamp:
2017-12-05T20:43:39+13:00 (4 years ago)
Author:
Georgiy Litvinov
Message:

Added valid russian morphology analyzer configuration into showcase collection.

Location:
gs3-extensions/solr/trunk/src/collect/solr-jdbm-demo/etc/conf
Files:
12 added
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/solr/trunk/src/collect/solr-jdbm-demo/etc/conf/schema.xml

    r30001 r32087  
    11311131    <!-- Russian with morphology-->
    11321132    <fieldType name="text_ru_morph" class="solr.TextField" positionIncrementGap="100">
    1133           <analyzer>
    1134           <tokenizer class="solr.StandardTokenizerFactory"/>
    1135           <filter class="solr.LowerCaseFilterFactory"/>
    1136           <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_ru.txt" format="snowball" />
    1137           <filter class="org.apache.lucene.morphology.russian.RussianFilterFactory"/>
    1138           </analyzer>
    1139     </fieldType>
    1140  
     1133      <analyzer>
     1134        <charFilter class="solr.HTMLStripCharFilterFactory"/>
     1135        <tokenizer class="solr.StandardTokenizerFactory"/>
     1136        <filter class="solr.LowerCaseFilterFactory"/>
     1137        <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_ru.txt" format="snowball" />
     1138        <filter class="company.evo.jmorphy2.lucene.Jmorphy2StemFilterFactory" dict="lang/pymorphy2_dicts"/>
     1139      </analyzer>
     1140    </fieldType>
    11411141    <!-- Swedish -->
    11421142    <fieldType name="text_sv" class="solr.TextField" positionIncrementGap="100">
Note: See TracChangeset for help on using the changeset viewer.