<fieldType name="text_ko" class="solr.TextField" >
<analyzer>
<!-- decompoundMode: mixed (is keep original term and add all decompounded terms), discard (default, removes the compound form, only keeps the parts), none (no decompounding) -->
<tokenizer class="solr.KoreanTokenizerFactory"
decompoundMode="discard"
userDictionary="../../userDictionary/userDictionary.txt"
userDictionaryEncoding="UTF-8"
/>
<filter class="solr.SynonymGraphFilterFactory" synonyms="../../userDictionary/synonyms.txt" ignoreCase="true" expand="true"/>
<filter class="solr.CommonGramsFilterFactory" words="../../userDictionary/stopwords_ko.txt" ignoreCase="true"/>
<filter class="solr.StopFilterFactory" ignoreCase="true" words="../../userDictionary/stopwords_ko.txt"/>
<!-- removes some part of speech stuff like EOMI (Pos.E) -->
<!--<filter class="solr.KoreanPartOfSpeechStopFilterFactory" />-->
<!-- Replaces term text with the Hangul transcription of Hanja characters, if applicable: -->
<filter class="solr.KoreanReadingFormFilterFactory" />
<filter class="solr.LowerCaseFilterFactory" />
</analyzer>
</fieldType>