You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Lars Kotthoff (JIRA)" <ji...@apache.org> on 2008/08/14 03:36:44 UTC

[jira] Commented: (SOLR-698) SpellCheckComponent should use the queryString set in the ResponseBuilder

    [ https://issues.apache.org/jira/browse/SOLR-698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12622413#action_12622413 ] 

Lars Kotthoff commented on SOLR-698:
------------------------------------

Isn't the queryString attribute of ResponseBuilder the same as CommonParams.Q? At least a quick review of the code suggests that it's only ever set to CommonParams.Q.

Could you elaborate on how this allows SpellCheckComponent to be used with more components? If you need a special spellcheck query you can specify spellcheck.q in the request.

> SpellCheckComponent should use the queryString set in the ResponseBuilder
> -------------------------------------------------------------------------
>
>                 Key: SOLR-698
>                 URL: https://issues.apache.org/jira/browse/SOLR-698
>             Project: Solr
>          Issue Type: Improvement
>          Components: spellchecker
>            Reporter: Steven Broadbridge
>         Attachments: SOLR-698.patch
>
>
> SpellCheckComponent should check if a previous component has set the queryString property on ResponseBuilder before using the "q" parameter.
> This will allow it to be used with query components besides QueryComponent.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.