lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Upayavira (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-11296) Spellcheck parameters not working in new UI
Date Wed, 30 Aug 2017 08:13:00 GMT

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

Upayavira commented on SOLR-11296:
----------------------------------

Not got a working setup nor time to investigate much, but I bet you the issue is this:

Those values all look to me like booleans, and they are not initialised. So going to this
file:

https://github.com/apache/lucene-solr/blob/master/solr/webapp/web/js/angular/controllers/query.js

Go to line 30:

$scope.spellcheck = {spellcheck:"on"};

Replace this with:

$scope.spellcheck = {spellcheck:"on", "spellcheck.build": "off", "spellcheck.reload": "off",
"spellcheck.onlyMorePopular": "off", ..... for all the above params

And then I suspect it will work. 

> Spellcheck parameters not working in new UI
> -------------------------------------------
>
>                 Key: SOLR-11296
>                 URL: https://issues.apache.org/jira/browse/SOLR-11296
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Admin UI
>    Affects Versions: 7.0, 6.6.0, 6.3.0
>            Reporter: Shawn Heisey
>
> When these spellcheck options are chosen in the query interface in the new UI, they are
not added to the query that gets executed:
> spellcheck.build
> spellcheck.reload
> spellcheck.onlyMorePopular
> spellcheck.extendedResults
> spellcheck.collate
> From what I could tell, the other spellcheck options *are* included in the query when
they are configured in the query interface.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message