You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "James Dyer (Created) (JIRA)" <ji...@apache.org> on 2012/03/07 16:32:58 UTC
[jira] [Created] (SOLR-3211) Allow parameter override in
conjunction with "spellcheck.maxCollationTries"
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.5
Reporter: James Dyer
Priority: Minor
Fix For: 4.0
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Resolved] (SOLR-3211) Allow parameter override in
conjunction with "spellcheck.maxCollationTries"
Posted by "James Dyer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Dyer resolved SOLR-3211.
------------------------------
Resolution: Fixed
Committed...Trunk: 1348936, Branch_4x: r1348937
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (SOLR-3211) Allow parameter override in
conjunction with "spellcheck.maxCollationTries"
Posted by "James Dyer (JIRA)" <ji...@apache.org>.
[ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (SOLR-3211) Allow parameter override in
conjunction with "spellcheck.maxCollationTries"
Posted by "James Dyer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Dyer updated SOLR-3211:
-----------------------------
Affects Version/s: (was: 3.5)
4.0
3.6
Fix Version/s: (was: 4.1)
5.0
4.0
Assignee: James Dyer
> 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
>
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org