On Mon, Apr 25, 2016 at 6:57 AM, Jack <lilihongbeast(a)163.com> 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#Language…
https://dzone.com/articles/indexing-chinese-solr
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-supp…
Sent from the XWiki- Dev mailing list archive at
Nabble.com.
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs