Josh,

The spellchecker index is just another Lucene index, so you can delete 
documents/words from it the same way you delete documents from any Lucene index 
- using IndexReader's delete(...) methods.  You can pass that delete method a 
Term where the field name is "word" and the value is the mizpelt word.

Otis 

----- Original Message ----
From: Josh Joy <[EMAIL PROTECTED]>
To: java-user@lucene.apache.org
Sent: Thursday, January 11, 2007 2:26:18 AM
Subject: SpellChecker Index - remove words?

Hi All,

The spellchecker api is very nice to use, and I can
easily add words to 
the index. However, because the words I am adding are
from another index 
that is user generated per se (meaning it may have
spelling errors), how 
can I safely remove words from the spell checker
index? If I know the 
exactly the word I would like to remove?

Thanks,
Josh

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to