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

James Dyer updated SOLR-2556:
-----------------------------
    Attachment: SOLR-2556.patch

Here is a patch with just failing unit tests.

I think the best way to fix this is to make SpellingQueryConverter more robust 
to recognize digits as terms subject to corrections / suggestions.

I do think the complete absence of the spellcheck section on the response was 
probably by design.  If there are no terms in the query that can be corrected, 
it leaves it off altogether.

> Spellcheck component not returned with numeric queries
> ------------------------------------------------------
>
>                 Key: SOLR-2556
>                 URL: https://issues.apache.org/jira/browse/SOLR-2556
>             Project: Solr
>          Issue Type: Bug
>          Components: spellchecker
>    Affects Versions: 3.1
>            Reporter: Markus Jelsma
>         Attachments: SOLR-2556.patch
>
>
> The spell check component's output is not written when sending queries that 
> consist of numbers only. Clients depending on the availability of the 
> spellcheck output need to check if the output is actually there.
> See also:
> http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201105.mbox/%3c201105301607.41956.markus.jel...@openindex.io%3E



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to