[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to