Opened 13 years ago

Last modified 13 years ago

#609 new defect

Could not search any Chinese in utf8 encoding

Reported by: wlx Owned by: geonetwork-devel@…
Priority: critical Milestone: Future release
Component: General Version: v2.6.4
Keywords: search Chinese utf8 Cc: wlx@…

Description

I have set the URIEncode=UTF-8 in tomcat6 server, and rebuild Rebuild Lucene index in geonetwork Administrate, but could not search any Chinese yet, in the tomcat log, I can confirm the query string get the right encoding string.

And with a google search, maybe this is the reason: http://blog.csdn.net/zhuhuazha/article/details/2906232

Change History (3)

comment:1 by Fxp, 13 years ago

In GeoNetwork trunk, you have the capability to define analyzer for each fields and the default one to use in config-lucene.xsl [1]. Does this help to solve the problem ?

[1] https://geonetwork.svn.sourceforge.net/svnroot/geonetwork/trunk/web/src/main/webapp/WEB-INF/config-lucene.xml

comment:2 by josegar74, 13 years ago

Milestone: v2.6.5Future release

comment:3 by wlx, 13 years ago

Cc: wlx@… added

So which analyzer should be used in config-lucene.xsl to search the Chinese?

Thanks for your reply.

Note: See TracTickets for help on using tickets.