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
: 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) {
:
> 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
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
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-
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
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