[ 
https://issues.apache.org/jira/browse/SOLR-395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mike Krimerman updated SOLR-395:
--------------------------------

    Attachment: returnFrequencies.patch

patch for returning frequencies for word and suggestions.
Lucene's suggestions are sorted by distance first and frequency second (if 
applicable).

The patch adds two fields:
 * a frequency field for the word
 * a list of frequencies (same length as the suggestion list).



> 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: search
>    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.

Reply via email to