You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "philip hoy (Created) (JIRA)" <ji...@apache.org> on 2011/11/28 22:29:40 UTC

[jira] [Created] (SOLR-2926) Use DirectSolrSpellChecker to allow the user to specify the spell-checked field at query time

Use DirectSolrSpellChecker to allow the user to specify the spell-checked field at query time
---------------------------------------------------------------------------------------------

                 Key: SOLR-2926
                 URL: https://issues.apache.org/jira/browse/SOLR-2926
             Project: Solr
          Issue Type: New Feature
          Components: spellchecker
    Affects Versions: 3.5, 4.0
            Reporter: philip hoy
            Priority: Minor


Can the DirectSolrSpellChecker be used for autosuggest but defer to query-time the name of the field to use to create spell-checking dictionary. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (SOLR-2926) Use DirectSolrSpellChecker to allow the user to specify the spell-checked field at query time

Posted by "Robert Muir (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13158846#comment-13158846 ] 

Robert Muir commented on SOLR-2926:
-----------------------------------

Really from DirectSpellChecker's point of view this is easy (it knows nothing about field and takes Term in its suggest() method).

So I think this would be a good change: you specify the field instead at query-time and perhaps the solrconfig configuration has
a 'defaultField' thats only used as a fallback if its unspecified.

There is already support for a 'custom params' in the SpellingOption, maybe it can be used for this?
                
> Use DirectSolrSpellChecker to allow the user to specify the spell-checked field at query time
> ---------------------------------------------------------------------------------------------
>
>                 Key: SOLR-2926
>                 URL: https://issues.apache.org/jira/browse/SOLR-2926
>             Project: Solr
>          Issue Type: New Feature
>          Components: spellchecker
>    Affects Versions: 3.5, 4.0
>            Reporter: philip hoy
>            Priority: Minor
>              Labels: spellchecker
>
> Can the DirectSolrSpellChecker be used for autosuggest but defer to query-time the name of the field to use to create spell-checking dictionary. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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