solr??????????????????????solr
???????????? ???????[ 2014/1/17 9:17:03 ] ????????????? solr ????
????13?????Schema.xml
???????fieldType
????Xml????
<types>
<fieldType name="textComplex" class="solr.TextField" positionIncrementGap="100" >
<analyzer>
<tokenizer class="com.chenlb.mmseg4j.solr.MMSegTokenizerFactory" mode="complex" dicPath="/opt/solr/example/solr/dic"/>
<filter class="solr.LowerCaseFilterFactory"/>
</analyzer>
</fieldType>
<fieldType name="textMaxWord" class="solr.TextField" positionIncrementGap="100" >
<analyzer>
<tokenizer class="com.chenlb.mmseg4j.solr.MMSegTokenizerFactory" mode="max-word" dicPath="/opt/solr/example/solr/dic"/>
<filter class="solr.LowerCaseFilterFactory"/>
</analyzer>
</fieldType>
<fieldType name="textSimple" class="solr.TextField" positionIncrementGap="100" >
<analyzer>
<tokenizer class="com.chenlb.mmseg4j.solr.MMSegTokenizerFactory" mode="simple" dicPath="/opt/solr/example/solr/dic"/>
<filter class="solr.LowerCaseFilterFactory"/>
</analyzer>
</fieldType>
..
</types>
????Xml????
<fieldname="simple"type="textSimple"indexed="true"stored="true"multiValued="true"/>
<fieldname="complex"type="textComplex"indexed="true"stored="true"multiValued="true"/>
<fieldname="maxword"type="textMaxWord"indexed="true"stored="true"multiValued="true"/>
????Xml????
<copyField source="simple" dest="text"/>
<copyField source="complex" dest="text"/>
????14??????tomcat??
???????? http://yourhost:8080/solr-example/admin/analysis.jsp????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11