I think this analyzer will search only the Chinese content, actually we have mixed content Chinese and English. do we have any other analyzer which will search both English and Chinese content simultaneously.
No idea. As far as I am aware you have single language analyzers. Is the content in separate websites in same instance if so you could create separate indexes? One for english and one for chinese.
Lucene search for Chinese language website
We have website which uses Lucene examine indexing for searching the site content.
It work perefectly fine for english content but when we try to search any chinese content, it showing no results.
do we need to add separate analyzer for chinese language ?
You will need chinese language analyser. See https://svn.apache.org/repos/asf/incubator/lucene.net/trunk/src/contrib/Analyzers/Cn/ build that then index and search using that analyser you can set the analyser property in the exmiane config attribute
analyzer="Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net"
Update the to your compiled assembly with namespace to the chinese then rebuild the index.
Regards
Ismail
Thanks Ismail for info.
I think this analyzer will search only the Chinese content, actually we have mixed content Chinese and English. do we have any other analyzer which will search both English and Chinese content simultaneously.
raju,
No idea. As far as I am aware you have single language analyzers. Is the content in separate websites in same instance if so you could create separate indexes? One for english and one for chinese.
Regards
Ismail
is working on a reply...