You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Reitzel, Charles" <Ch...@tiaa-cref.org> on 2015/02/23 21:06:15 UTC
SOLR-7144 - Suggester dictionary does not set origFreq
Hi All,
With apologies for jumping the gun and submitting the issue prior to this email ...
I have created SOLR-7144 - "Suggester dictionary does not set origFreq" here:
https://issues.apache.org/jira/browse/SOLR-7144
The short version is that Suggester never sets the original frequency. Since we're trying to use Suggester as a spellcheck implementation (per the Spellcheck docs until very recently). For a variety of reasons, we want to use the extended spellcheck response to make search suggestions. Without term-by-term frequency information, our code cannot distinguish which are good terms to use in a subsequent query and which are not. This patch fixes that problem.
Of course, if there is a better way to handle the issue, avoiding a code change is preferable. I did check this out on the user list and did not get a solution there.
Any thoughts on this patch? Is this a good approach?
It's only a few lines of product changes. Includes a couple unit tests. Also, "ant test" still runs fine at the top level.
Any feedback appreciated.
Thanks,
Charlie Reitzel
*************************************************************************
This e-mail may contain confidential or privileged information.
If you are not the intended recipient, please notify the sender immediately and then delete it.
TIAA-CREF
*************************************************************************