3、 put lucene-analysis-smartcn-X.X.X.jar in [permanentDirectory]/store/solr/search/lib (make sure the read permission for applicaiton running user)
4、edit [permanentDirectory]/store/solr/search/conf/managed-schema.xml (in xwiki 15 and older, it maybe named `managed-schema`, but it's also a XML file)
IMPORTANT:Lucene support Chinese content search officially. So is Solr.
In xwiki, you should operate manully to support Chinese content search by these step:
1、make sure the version of Lucene(Solr) in the xwiki you choose.
check {*}[permanentDirectory]/store/solr/search/conf/solrconfig.xml{*}, you would find content like:
`<luceneMatchVersion>9.8.0</luceneMatchVersion>`
2、download the smartcn jar package related to corresponding lucene version in [ https://repo1.maven.org/maven2/org/apache/lucene]
*lucene 9+ choose: lucene-analysis-smartcn/*
*lucene 4to8: choose: lucene-analyzers-smartcn/*
_example: for lucene 9.8.0 , I download [https://repo1.maven.org/maven2/org/apache/lucene/lucene-analysis-smartcn/9.8.0/lucene-analysis-smartcn-9.8.0.jar]_
3、 put lucene-analysis-smartcn-X.X.X.jar in *[permanentDirectory]/store/solr/search/lib* (make sure the read permission for applicaiton running user)
4、edit {*}[permanentDirectory]{*}/store/solr/search/conf/managed-schema.xml (in xwiki 15 and older, it maybe named `managed-schema`, but it's also a XML file)