...
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
: 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) {
:
/ (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-suggetions-after-changing-Server-tp20910159p21015278.html
Sent from the Lucene - Java Users
results, nor an errormessage.
--
View this message in context:
http://www.nabble.com/Lucene-SpellChecker-returns-no-suggetions-after-changing-Server-tp20910159p20910159.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com
-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-suggetions-after-changing-Server-tp20910159p20910159.html
Sent
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 mailing list
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-suggetions-after-changing-Server-tp20910159p20910159.html
Sent from