This question is best asked on java-user. However, my guess is that it is related to your Locale and that you need to set the character encoding to Greek on Ubuntu when reading in your files.

Something like: Reader reader = new InputStreamReader(new FileInputStream(file), "GREEK Char Encoding here");

-Grant

On Feb 18, 2008, at 7:08 AM, kratoras wrote:


Hello!
I ve written a sample application which indexes documents written in Greek
using the GreekAnalyzer and search these documents with both greek and
english words. Though on Windows the searching returns correct results, if i try it on Ubuntu the searching does not return any results for any greek word but it continues to search for english words. Could it be a problem of
fonts in my ubuntu or what?Greek fonts are installed though.

Thanks for any answers in advance
--
View this message in context: 
http://www.nabble.com/Problem-using-Lucene-on-Ubuntu-tp15543843p15543843.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------
Grant Ingersoll
http://lucene.grantingersoll.com
http://www.lucenebootcamp.com

Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to