Re: Lucene SpellChecker returns no suggetions after changing Server

2008-12-22 Thread Matthias W.
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

Re: Lucene SpellChecker returns no suggetions after changing Server

2008-12-20 Thread Chris Hostetter
: How can I speed it up? don't construct a new LuceneDictionary/IndexReader on every "suggest" call ... construct them once, and reuse them for each suggestion. : My temporary method: : public static Vector suggest(String query, String indexName, String field, : float accuracy) { :

Re: Lucene SpellChecker returns no suggetions after changing Server

2008-12-15 Thread Matthias W.
> nothing. > The index is generated by the nutch crawler, but this shouldn't be the > problem. > > I've got the lucene-spellchecker-2.1.0.jar in the WEB-INF/lib/ (If I > remove it, I get the expected errormessage.) > > So I don't know why I neither get results, nor an

Re: Lucene SpellChecker returns no suggetions after changing Server

2008-12-12 Thread Matthias W.
uggestions[i]); >> } >> >> This worked fine on the old server, but on my new server this returns >> nothing. >> The index is generated by the nutch crawler, but this shouldn't be the >> problem. >> >> I've got the lucene-spellchecker-2.1.0.jar

Re: Lucene SpellChecker returns no suggetions after changing Server

2008-12-10 Thread Grant Ingersoll
t this shouldn't be the problem. I've got the lucene-spellchecker-2.1.0.jar in the WEB-INF/lib/ (If I remove it, I get the expected errormessage.) So I don't know why I neither get results, nor an errormessage. -- View this message in context: http://www.nabble.com/Lucene-SpellChecker-

Re: Lucene SpellChecker returns no suggetions after changing Server

2008-12-09 Thread Matthias W.
think this is because of a server misconfiguration, but I've got no idea whats the reason for. What can I do now? -- View this message in context: http://www.nabble.com/Lucene-SpellChecker-returns-no-suggetions-after-changing-Server-tp20910159p20916424.html Sent from the Lucene - Java Users ma

Lucene SpellChecker returns no suggetions after changing Server

2008-12-08 Thread Matthias W.
7;t be the problem. I've got the lucene-spellchecker-2.1.0.jar in the WEB-INF/lib/ (If I remove it, I get the expected errormessage.) So I don't know why I neither get results, nor an errormessage. -- View this message in context: http://www.nabble.com/Lucene-SpellChecker-returns-no-sugg