You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by lostzen <lo...@gmail.com> on 2006/05/08 16:42:57 UTC
spell checker across multiple fields
Hello, I am trying to use the SpellChecker to suggest more popular
search terms. It works great one only using one field, but what is
the best way to make it work across multiple fields? I've already
created my own version of a Dictionary (based on LuceneDictionary)
which provides a dictionary off all terms across multiple fields. I
was looking into overiding the suggestSimilar(String word, int
num_sug, IndexReader ir, String field, boolean morePopular) method but
not sure if this is the correct way?
I also thought of making multiple calls to the above method (once for
each field) and storing the term which provided the highest
doc.frecquency but was concerned about performance and quality of
suggestions.
Any coments/suggestions are much appreciated,
Thanks
Chris.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: spell checker across multiple fields
Posted by "shrinath.m" <sh...@webyog.com>.
Hi,
can I know, if there is any improvement since 4 years ?
Can we do that now in Lucene 3.0.3 ?
--
View this message in context: http://lucene.472066.n3.nabble.com/spell-checker-across-multiple-fields-tp539392p2654706.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org