You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "James Dyer (JIRA)" <ji...@apache.org> on 2015/12/02 21:13:11 UTC
[jira] [Updated] (SOLR-2556) Spellcheck component not returned with
numeric queries
[ 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.jelsma@openindex.io%3E
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org