[
https://issues.apache.org/jira/browse/SOLR-395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538061
]
Mike Krimerman commented on SOLR-395:
-------------------------------------
The separate list of frequencies is indeed for backwards compatibility, it
seems preferable to do as you suggested and add a frequency for each suggestion
if backwards compatibility is not an issue.
If the distance can be added it would be a nice addition. Lucene sorts the
suggestion list by distance first and frequency second.
Regarding the XML formatting, that would be nice addition. However I was under
the impression that Solr uses only tag-elements (and not attributes) for
responses. How would the frequency be returned if a JSON or Python response is
requested?
Another nice addition might be to implement the decision of the prominent
suggestion; however that might require some heuristics and not be generic.
> Spell-check should return frequencies of word and suggestions
> -------------------------------------------------------------
>
> Key: SOLR-395
> URL: https://issues.apache.org/jira/browse/SOLR-395
> Project: Solr
> Issue Type: Improvement
> Components: spellchecker
> Affects Versions: 1.3
> Reporter: Mike Krimerman
> Priority: Minor
> Fix For: 1.3
>
> Attachments: returnFrequencies.patch
>
>
> When issuing a spell-check, the word being searched for might be present in
> the index with a very low frequency (i.e. a misspelling that made it's way
> into the index). It might therefore be helpful if the client receives the
> frequency of the word plus the frequencies of each of the suggestions.
> This feature should be optional (using a URL param).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.