Thanks for your answer. I already found the reason for the bad performance.
hossman wrote: > > don't construct a new LuceneDictionary/IndexReader on every "suggest" call > ... construct them once, and reuse them for each suggestion. > This was the first thing I did, but the effect was not that big... The reason was the usage of the RAMDirectory. Now I'm usig FSDirectory.getDirectory("/dictionary") instead of new RAMDirectory() and it works fine. -- View this message in context: http://www.nabble.com/Lucene-SpellChecker-returns-no-suggetions-after-changing-Server-tp20910159p21125964.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org