You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2015/12/14 22:10:48 UTC
[jira] [Updated] (SOLR-8104) config API does not work for
spellchecker
[ https://issues.apache.org/jira/browse/SOLR-8104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Uwe Schindler updated SOLR-8104:
--------------------------------
Fix Version/s: (was: 5.4)
5.5
> config API does not work for spellchecker
> -----------------------------------------
>
> Key: SOLR-8104
> URL: https://issues.apache.org/jira/browse/SOLR-8104
> Project: Solr
> Issue Type: Bug
> Reporter: Noble Paul
> Assignee: Noble Paul
> Fix For: 5.5, Trunk
>
> Attachments: SOLR-8104.patch
>
>
> A command as follows fails
> {code}
> curl http://localhost:8983/solr/gettingstarted/config -H 'Content-type:application/json' -d '
> {
> "add-searchcomponent": {
> "name": "myspellcheck",
> "class": "solr.SpellCheckComponent",
> "queryAnalyzerFieldType": "text_general",
> "spellchecker": {
> "name": "default",
> "field": "_text_",
> "class": "solr.DirectSolrSpellChecker"
> }
> }
> }'
> {code}
> and there is no possible alternative
> The reason is {{SeachComponent}} expects a {{NamedList}} with the name "spellchecker" . But json does not support NamedList
--
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