You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Abhishek Kumar Singh (JIRA)" <ji...@apache.org> on 2017/03/15 14:07:41 UTC

[jira] [Comment Edited] (SOLR-10263) Different SpellcheckComponents should have their own options

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

Abhishek Kumar Singh edited comment on SOLR-10263 at 3/15/17 2:07 PM:
----------------------------------------------------------------------

Yes, This is what is happening in the latest code too. 

See this,
https://github.com/apache/lucene-solr/blob/master/solr/core/src/java/org/apache/solr/spelling/ConjunctionSolrSpellChecker.java#L120

It passes gives the *options* , for all the SpellCheckComponents.



was (Author: asingh2411):
Yes, This is what is happening in the latest code too. 

See this,
https://github.com/apache/lucene-solr/blob/master/solr/core/src/java/org/apache/solr/spelling/ConjunctionSolrSpellChecker.java#L120

It passes gives the same options, for all the SpellCheckComponents.


> Different SpellcheckComponents should have their own options
> ------------------------------------------------------------
>
>                 Key: SOLR-10263
>                 URL: https://issues.apache.org/jira/browse/SOLR-10263
>             Project: Solr
>          Issue Type: Wish
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: spellchecker
>            Reporter: Abhishek Kumar Singh
>            Priority: Minor
>
> As of now, common spellcheck options are applied to all the SpellCheckComponents.
> This can create problem in the following case:-
>  It may be the case that we want *DirectSolrSpellChecker* to ALWAYS_SUGGEST spellcheck suggestions. 
> But we may want *WordBreakSpellChecker* to suggest only if the token is not in the index (SUGGEST_WHEN_NOT_IN_INDEX) . 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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