[
https://issues.apache.org/jira/browse/SOLR-4387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13566630#comment-13566630
]
Alan Woodward commented on SOLR-4387:
-------------------------------------
SpellCheckComponent uses a QueryConverter to extract terms from its query,
which only works for fairly basic syntax. We do actually have access to the
parsed query from the ResponseBuilder - couldn't we just replace the
QueryConverter with query.extractTerms()? Then we decouple ourselves from the
query parser entirely.
> Spellchecker will attempt to correct spelling of localparams
> ------------------------------------------------------------
>
> Key: SOLR-4387
> URL: https://issues.apache.org/jira/browse/SOLR-4387
> Project: Solr
> Issue Type: Bug
> Components: spellchecker
> Affects Versions: 4.1
> Reporter: Alan Woodward
> Priority: Minor
> Fix For: 4.2
>
> Attachments: SOLR-4387.patch
>
>
> If you pass localparams as part of a q parameter, (eg q=\{!defType
> edismax\}myterm) the spellchecker will include them in its list of terms to
> find suggestions for.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]