On 25 Apr 2016, at 06:33, Marius Dumitru Florea
<mariusdumitru.florea(a)xwiki.com> wrote:
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
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-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
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs