Changeset 31859

Show
Ignore:
Timestamp:
08.08.2017 02:00:54 (2 years ago)
Author:
litvinovg
Message:

Replaced russian morphology analyzer by much more efficient version.

Location:
gs3-extensions/solr/trunk/src
Files:
21 added
2 removed
2 modified

Legend:

Unmodified
Added
Removed
  • gs3-extensions/solr/trunk/src/build.xml

    r30521 r31859  
    8888           serializer.jar"/> 
    8989  <property name="russian-morph-jars" 
    90             value="russian-4.7.2.jar 
    91                    morph-4.7.2.jar"/> 
     90        value="jmorphy2-lucene-0.2.0.jar 
     91                   jmorphy2-nlp-0.2.0.jar 
     92                   jmorphy2-core-0.2.0.jar 
     93                   dawg-0.2.0.jar 
     94                   jmorphy2-dicts-uk-0.2.0.jar 
     95                   guava-18.0.jar 
     96                   commons-codec-1.10.jar 
     97                   noggit-0.7.jar 
     98                   jmorphy2-dicts-ru-0.2.0.jar"/> 
     99 
    92100 
    93101  <property name="java-service-files"  
  • gs3-extensions/solr/trunk/src/conf/schema.xml.in

    r30050 r31859  
    11641164        <filter class="solr.LowerCaseFilterFactory"/> 
    11651165        <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_ru.txt" format="snowball" /> 
    1166         <filter class="org.apache.lucene.morphology.russian.RussianFilterFactory"/> 
     1166        <filter class="company.evo.jmorphy2.lucene.Jmorphy2StemFilterFactory" dict="lang/pymorphy2_dicts"/> 
    11671167      </analyzer> 
    11681168    </fieldType>