cancel
Showing results for 
Search instead for 
Did you mean: 

Search results utf-8 characters

vassilisx
Champ in-the-making
Champ in-the-making
Hello,

when I use the search function in Alfresco it works fine with english characters but fails to return the correct results when searching in Greek language. Is there some kind of configuration I'm missing?
4 REPLIES 4

abarisone
Star Contributor
Star Contributor
HI,
you should configure the correct dataTypeAnalyzer for indexing, corresponding to your language.
You can find them under
\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\model\dataTypeAnalyzers_el
which contains:
# Data Type Index Analyzers

d_dictionary.datatype.d_text.analyzer=org.apache.lucene.analysis.el.GreekAnalyzer
d_dictionary.datatype.d_content.analyzer=org.apache.lucene.analysis.el.GreekAnalyzer
Hope this helps.
Regards,
Andrea

vassilisx
Champ in-the-making
Champ in-the-making
Is it possible to configure it so that it will index in more than one language (as in both Greek and English) ?

abarisone
Star Contributor
Star Contributor
Well,
what you'd like to do refers to Multilingual Document support http://docs.alfresco.com/4.0/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Ftasks%2Ftuh-multilingu...
You can find more here http://wiki.alfresco.com/wiki/Multilingual_Document_Support#Indexing_Support even if the page needs to be updated to 4.0 version

Regards,
Andrea

vassilisx
Champ in-the-making
Champ in-the-making
I just realized that my problem is of a different nature: I am able to search the Greek content in the repository except the wiki. I guess this is due to a problem with tinyMCE. Whenever I try to switch to html I see that the Greek characters are displayed as kapa-lamda-omikron etc, and not as real (utf8) characters. My guess is that this is what causes the problem with the searching results…