> On 25 Apr 2016, at 06:33, Marius Dumitru Florea > <[email protected]> wrote: > > On Mon, Apr 25, 2016 at 6:57 AM, Jack <[email protected]> wrote: > >> I found solr search document content can not support chinese,so I must >> modify solr/conf/schema.xml file? >> > > Yes. Moreover, it's not just about adding a one line > > <dynamicField name="*_zh" type="text_zh" indexed="true" stored="true" > multiValued="true" /> > > You also need to define the text_zh type (i.e. which filters and analysers > to use). I searched quickly on the web and I could find > > https://cwiki.apache.org/confluence/display/solr/Language+Analysis#LanguageAnalysis-Chinese > https://dzone.com/articles/indexing-chinese-solr
Once you have a working version, please file a jira issue and attach the config you’ve used (or better make a pull request on github) so that we can include it by default in XWiki! Thanks -Vincent > Is there any other easy way to solve it? >> > > No. > > Hope this helps, > Marius > > >> <http://xwiki.475771.n2.nabble.com/file/n7599174/1.png> >> >> >> >> -- >> View this message in context: >> http://xwiki.475771.n2.nabble.com/solr-search-document-content-can-not-support-chinese-tp7599174.html >> Sent from the XWiki- Dev mailing list archive at Nabble.com. >> _______________________________________________ >> devs mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/devs >> > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

