在solr管理员页面直接进行中文搜索,
URL:http://localhost:8080/solr/select/?q=%E5%A4%A9%E6%89%8D&version=2.2&start=0&rows=10&indent=on, 结果如下:
<?xml version="1.0" encoding="UTF-8" ?>
- <response>
- <lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">2</int>
- <lst name="params">
<str name="indent">on</str>
<str name="start">0</str>
<str name="q">天æ</str> <!--搜索的词编程了乱码-->
<str name="rows">10</str>
<str name="version">2.2</str>
</lst>
</lst>
<result name="response" numFound="0" start="0" />
</response>