????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????????????