Index Optimization Issue

2008-03-11 Thread masz-wow
I managed to optimize my index successfully. The problem that I'm having now is when I check the index using Lucene Index Toolbox there are a few files in the index itself is deletable. I understand that optimize method will merge the index files but How come there is still deletable index files i

Re: Problem Search using lucene

2007-07-31 Thread masz-wow
Thanks Joe I'm using this function as my analyzer public static Analyzer getDefaultAnalyzer() { PerFieldAnalyzerWrapper perFieldAnalyzer = new PerFieldAnalyzerWrapper(new StopAnalyzer()); perFieldAnalyzer.addAnalyzer("contents", new StopAnalyzer()); perFi

Problem Search using lucene

2007-07-31 Thread masz-wow
I understand that only document that has been indexed will be able to search. I already manage to index the document and also search the content of the document. The problem is, why is that there are a few words that cannot be search? E.g : A document contains this sentence "So on the next Monday