[
https://issues.apache.org/jira/browse/SOLR-2106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12906821#action_12906821
]
James Dyer commented on SOLR-2106:
----------------------------------
This sounds like a duplicate of SOLR-1074, but unfortunately there is no patch.
I have a similar requirement as yours, for which I created SOLR-2010 (patch).
SOLR-2010 only provides a workaround for what you want but it might be good
enough...
- Create a dictionary containing all the fields your dismax config searches.
Use <copyField> in your configuration to build the dictionary.
- The spellchecker will collate based on all the words in the dictionary. This
might be ok, but you may get a lot of nonsense collations that return no
results.
- Apply SOLR-2010 if you want it to give only collations that are guaranteed to
return results.
- Your client will have to re-query SOLR based on the collation(s) returned.
There is no functionality (yet) that automatically redirects you to the top
collation or something like that.
> Spelling Checking for Multiple Fields
> -------------------------------------
>
> Key: SOLR-2106
> URL: https://issues.apache.org/jira/browse/SOLR-2106
> Project: Solr
> Issue Type: Bug
> Components: spellchecker
> Affects Versions: 1.4
> Environment: Linux Environment
> Reporter: JAYABAALAN V
> Fix For: 1.4
>
> Original Estimate: 0.02h
> Remaining Estimate: 0.02h
>
> Need to enable spellchecking for five different field and it's
> configuration.I am using dismax query parser for searching the different
> fields in the simple.If user has entered a wrong spelling in the front end.It
> should check in the five different fields and give collate spelling
> suggestion in the front end and should get a result based on the spelling
> suggestion.Do provide your configuration details for the same...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]