[
https://issues.apache.org/jira/browse/SOLR-395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539661
]
Mike Klaas commented on SOLR-395:
---------------------------------
a python example
{code:java}
{
'responseHeader': {
'status':0,
'QTime':16
},
'result':{
'pithon':{
'frequency':5,
'suggestions':['python',{'frequency':18785}]
},
'haus':{
'frequency':482,
'suggestions':['hats',{'frequency':6794},'hans',
{'frequency':5986},'haul',{'frequency':3152},'haas',
{'frequency':1054},'hays',{'frequency':533}]
},
'endication':{
'frequency':0,
'suggestions':['indication',{'frequency':9634},'syndication',
{'frequency':17777},'dedication',{'frequency':4470},'medication',
{'frequency':3746},'indications',{'frequency':2783}]
}
}
}
{/code}
> 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
> Assignee: Mike Klaas
> Priority: Minor
> Fix For: 1.3
>
> Attachments: extended_results.diff, 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.