[
https://issues.apache.org/jira/browse/SOLR-3211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Dyer updated SOLR-3211:
-----------------------------
Attachment: SOLR-3211.patch
Here is a patch for this with a unit test.
This creates a new parameter syntax: spellcheck.collateParam.xx where "xx" is
the parameter you are overriding. Typically users would want to override "mm"
from a low value to a high value so that the spellchecker is truly verifying
that the replacement (collation) terms exist together in the same document. I
made this more general in case users wanted to override something different
(perhaps "q.op").
I would like to commit this one in a few days or so...
> Allow parameter override in conjunction with "spellcheck.maxCollationTries"
> ---------------------------------------------------------------------------
>
> Key: SOLR-3211
> URL: https://issues.apache.org/jira/browse/SOLR-3211
> Project: Solr
> Issue Type: Improvement
> Components: spellchecker
> Affects Versions: 3.6, 4.0
> Reporter: James Dyer
> Assignee: James Dyer
> Priority: Minor
> Fix For: 4.0, 5.0
>
> Attachments: SOLR-3211.patch
>
>
> A couple users on the mailing list recently asked about being able to
> override the "mm" parameter when SpellCheckComponent issues queries to check
> for # hits for a collation candidate. The issue is if the query had mm=0,
> pretty much everything will generate hits. But for collation checking
> purposes, a low "mm" is almost never desirable.
> It might be worthwhile to generalize this to let other parameters be
> overridden as well.
--
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]