Re: Problem using Lucene on Ubuntu

2008-02-18 Thread kratoras
No problem about the misunderstanding. I am using InputStream input =new URL ( "file:///"+file.getAbsolutePath() ).openStream (); WordExtractor extractor = new WordExtractor(input); content=extractor.getText(); where the wordextractor is org.apache.poi.hwpf.extractor.WordExtractor; The word

Re: Problem using Lucene on Ubuntu

2008-02-18 Thread kratoras
Actually what i figured out just now is that the problem is on the indexing part. A document with a 15MB size is transformed in a 23MB index which is not normal since on windows for the same document the index is 3MB. For the indexing i use: writer = new IndexWriter(index, new GreekAnalyzer(), !in

Problem using Lucene on Ubuntu

2008-02-18 Thread kratoras
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 g