I don't think there are ready code samples ... but the API is fairly
straightforward ... try reading the javadocs?

http://lucene.apache.org/core/4_0_0/suggest/org/apache/lucene/search/spell/DirectSpellChecker.html

Basically you create it and then call one of its suggestSimilar methods.

Note that it's only available in Lucene 4.0.

Mike McCandless

http://blog.mikemccandless.com

On Mon, Jan 7, 2013 at 5:29 PM, algebra <fabianoc...@gmail.com> wrote:
> Thanks Mike McCandless,
>
> but I would like know how works DirectSpellChecker,
>
> I'd like to see a complete example using DirectSpellchecker.
>
> Can somebody help me?
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Suggestion-words-in-FuzzyQuery-tp4031354p4031363.html
> Sent from the Lucene - Java Developer mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
> For additional commands, e-mail: dev-h...@lucene.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to